Skip to content

Replace (instead of appending) HeadContent section from module #4614

Answered by sbwalker
mdmontesinos asked this question in Q&A
Discussion options

You must be logged in to vote

@mdmontesinos this was explored previously but there are a number of significant challenges:

  1. What is the dictionary key? Element type is not unique as there are multiple instances of most elements which are supported. Element "id" could be used however it would site administrators would need to specify the id property for each element - which I don't think is feasible (also html comments do not support id property). "Src" is supported for some elements but not others.
  2. Parsing the HtmlContent and BodyContent fields into individual elements is very challenging. And the more conditional logic required to try and distinguish the individual elements, the high probability it will impact perfor…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mdmontesinos
Comment options

@sbwalker
Comment options

@mdmontesinos
Comment options

Answer selected by mdmontesinos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants