I [url=http://silverstripe.org/customising-the-cms/show/277339]posted previously[/url] about my desire for my HTML code to remain completely unaltered when I enter it through the SS CMS's raw HTML editor. I have to reimplement this functionality every time I upgrade (and have been unsuccessful so far with SS 2.4.0.) I understand that such a feature goes against SS's target audience's needs. Yes, this feature is also tasteless and vile, but it is exactly what I need. (I am the sole or primary editor for most of the SS sites I set up.)
I'm likely part of a very small minority, and wouldn't want to distract you from work that will help SS's main audience. However, I'd really appreciate any pointers you'd care to give me. My goal is to get my dream (nightmare?) feature up and running as easily as possible each time a new SS release comes out. There are several approaches that come to mind:
A) Hack the CMS code into submission each time a new release comes out (my current approach.)
B) Implement an additional TinyMCE toolbar button (possibly labeled RAW). Such a button would bring up a window with a text editor, whose text would remain unaltered after editing and while saving. Insert that button's code into the TinyMCE source files after installing the latest version of SS.
C) Create a module with it's own custom TinyMCE configuration and installation. Upon a new SS release, update my module, disable SS's default TinyMCE field, and replace it with the one from my module.
D) Replace TinyMCE with a plain text field.
E) Submit a feature request for the ability to easily disable all HTML-editor content alterations.
F) Submit a feature request for code comments to identify all functions that alter the HTML-editor's contents.
It's possible that some of these ideas make no sense from a technical standpoint. (My knowledge of SS CMS's or TinyMCE's implementation is very limited at present.)
Which of these approaches is likely to be most successful in the long term (and not just for the current version of SS)? Please mention the best approach or rank them in order. If there are other approaches worth looking into, please mention them as well. (I'd prefer to have the best of both worlds--WYSIWYG from TinyMCE but also full control over the raw HTML. But if I have to pick, I'd choose unaltered HTML over the WYSIWYG, and get the WYSIWYG elsewhere.)
Thanks in advance.