I have enabled the ICE editable in Business Catalyst and edited a page to contain editable regions such as this:
<p ice:editable="multiline">Some text</p>
In the edit view the p tag doesn't contain ice:editable="multiline", and it is not editable. The changes have been published in the pages view so I don't know why it's not coming up. I tried editing the html directly in 'inspect element' but that didn't help either.
How come this p is not editable?
Your code example is fine.
The ICE parser has already processed the page by the time you modify the DOM from there, so changes will not be recognised.
The ICE parser is very finicky at the moment, something as simple as nesting ICE regions will prevent them from appearing in the ICE editor. E.g., this works:
But this does not:
Be aware that the
ice:
attributes are removed from rendered HTML in all views except the ICE Editor, accessible once you are logged in to the backend with the appropriate permissions. The top of your admin pages should have an Edit button, like this:The editable tags should look like this, when hovered: