• Hi. I am trying to write/manage my posts, but TinyMCE doesn’t accept any of the changes I make when I hit the HTML button (to edit the post’s HTML). For example, if I make a change, despite hitting “Update” the entry doesn’t change. It seems that TinyMCE is trying to adjust what I enter, in favor of what it thinks correct.

    Does anyone have any suggestions? If this can’t be addressed, I’d rather just abandon TinyMCE altogether.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not a huge fan of TinyMCE myself; I prefer not to use the Visual Editor. You can disable the Visual Editor under your Users/Your Profile.

    I am pretty well familiar with tinyMCE used as a separate tool (not within WordPress). One of the nice things with tinyMCE, is that you have full control over which HTML elements and attributes the editor will accept in HTML (“code”) mode. This is important in open multiuser environments where you probably want to protect some of your forms from spamming and improper content inserted my img/embed/object elements etc.

    All such configuration can be provided when the tinyMCE Javascript object is instantiated in your HTML pages, see the tinyMCE documentation Wiki for examples.

    What is needed in your case, is to extend the list of “valid elements”, see the examples – it is pretty straightforward.

    So how do we do this inside WordPress? When I dig into wp-includes/js/tinymce, I find a file called “tiny_mce_config.php”. I find the same stuff inside here as the tinyMCE Wiki describes, so it is clearly possible to change the configuration by editing this file.

    However, I doubt if this is the right way of doing this. If anyone familiar with both WP and tinyMCE knows something, please stand up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why does TinyMCE suck?’ is closed to new replies.