Newsroom / Blog

Custom Plugins

CODell's picture

Creating Fake Elements for FCKEditor 2.x

Jan10th

I've been working on a project last week that involves creating a custom plugin for FCKEditor. I needed a way to inject custom code into the HTML output (custom Magento templating stuff, actually). I wanted the code to be hidden from the user but easily managed by the user through a dialog box. This way, the user can easily change this without worrying about the underlying code (or FCKEditor corrupting it).