Closed (outdated)
Project:
TinyMCE
Version:
5.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2008 at 14:18 UTC
Updated:
14 Jan 2021 at 19:47 UTC
Jump to comment: Most recent
Comments
Comment #1
espie commentedPost-scriptum: I since found the list of named form exceptions in the tinyMCE code, but I think that it is good to allow people to do things the other way around, namely prevent tinyMCE from taking over on specific forms.
Comment #2
kingandyI think this is a beautifully elegant solution to a constant headache of mine. It's all very well overriding things at the theme level but I find myself copying-and-pasting the theme_tinymce_theme() function again and again. This would allow module developers to prevent TinyMCE from being initialised on textareas where rich text is never suitable or desirable, such as code-only areas (like the Argument Handling Code box in Views) or linebreak-dependent system fields (like the manual Related Links textbox).
In fact I think this is such a good idea that maybe it should be raised to the Forms API team? It would be great to make this into a more generic property ('#NoRich'?) that could be easily implemented by all rich text type modules.
Comment #3
kingandyAh, apparently a #wysiwyg property has already been implemented over in WYSIWYG module on the grounds of "Being Blatantly Obvious". If this gets adopted into TinyMCE at all, I'd recommend using the same property.
Comment #4
mupsi