Skip to:
Content
Pages
Categories
Search
Top
Bottom

Advanced TinyMCE Config


  • Starejosel
    Participant

    @starejosel

    Is this plugin BBpress compatible? I am trying to use it to set forced_root_block to false, but it seems to do nothing. Any help would be much appreciated! Thanks!

Viewing 1 replies (of 1 total)

  • Starejosel
    Participant

    @starejosel

    I have some more information–I hope that someone can help me.

    The problem is to swap the default behavior and make return give a br tag and
    shift return give a p tag. The TinyMCE wiki http://www.tinymce.com/wiki.php/Configuration
    seems to say that is the way to do it is by setting forced_root_block to false.*

    However, when I tried that using the Advanced TinyMCE Configuration plugin by Andrew Ozz , I found:

    If I use it to set 
    forced_root_block to false, 
    nothing changes. 
    
    If I set forced_root_block to true, which I expected 
    to do nothing, it breaks the editor: 
    The buttons don't work, and anything that I type into 
    the Visual editor gets wiped out when I switch to html.
    
    If I set forced_root_block to just a space,
    when I typed in 
    
    test
    test
    test
    test
    
    test
    test
    
     it produces the following html:
    
    < >< >test
    <!-- -->
    test
    test
    test
    
    test
    test
    
    
    which displays as 
    
    test
    
    test
    test
    test
    test
    test
    
    after submitting.
    
    Finally, if I set forced_root_block to div,
    when I typed in 
    
    test
    test
    test
    test
    
    test
    test
    
    it produces
    
    test
    test
    test
    test
    
    test
    test
    
    
    which displays as 
    
    test
    test
    test
    test
    test
    test
    
    and there seems to be no way to produce a break.
    

    I hope that this data is useful. ANY help would be GREATLY appreciated.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar