Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress compatibility plugin for TinyMCE


  • Florian
    Member

    @gquann

    I have written a simple plugin for TinyMCE to make it compatible with bbPress’ usage of double line breaks as paragraphs. The plugin replaces all paragraphs with said double linebreaks and br-Tags with single linebreaks upon posting. When editing an existing post, all linebreaks get transformed back into br-tags for TinyMCE. So you can use TinyMCE with bbPress without changing anything in bbPress.

    You can download it here:

    http://www.kreativrauschen.com/blog/2009/07/12/bbpress-compatibility-plugin-for-tinymce/

    You also need to set remove_linebreaks to false, or all linebreaks will get removed by TinyMCE.

    Currently, it still has one limitation (besides not being thoroughly tested): When you edit an existing post, double line breaks do not get converted back to paragraphs in TinyMCE. Instead they become two br-tags.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.