Prevent canvas from removing empty div tags
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022
12:51 PM
If I am editing a page's body field (HTML editor) and I add an empty div. For example:
<div class="write-in-me-later"></div>
Upon save this div is excised from the page, reopening the editor will find it missing.
Is there any way to prevent this removal behavior. I would like to be able to set up the html structure of a page before all the content is ready.
Thanks
Solved! Go to Solution.
2 Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022
02:49 PM
@WillKP I don't believe there is a way to prevent Canvas from doing the "clean up" on the HTML. I have put in "XXX" or lorem ipsum as place holders to hold things in place and to see what it will look like with content.
Hope this helps!
-Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022
09:12 PM