Search code examples
htmlwysiwygfckeditorcontent-management

What's the best way to embed HTML within a HTML page in a content management system?


I'm in the process of building a content management system for a scientific journal. The system is designed with content "blocks" that editors can manipulate using the FCKEditor. I am trying to display these "blocks" read-only in the system without the editor. My concern is "rogue" HTML that could break the rest of the page if the HTML isn't valid. I was thinking of using an iframe to segregate the blocks from the rest of the page.

Is there a better way to segregate the HTML "data"? Maybe something I haven't thought of?


Solution

  • I ended up using the iframes because I didn't want to load n FCKEditors.