Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Add-ons
  • Rich Text Editors & File Browser
  • TinyMCE
  •  
  • TinyMCE - Forcing Paragraph Tags#

  • 38072
    19

    noxaaron Reply #1, 5 months ago

    Reply
    • Link to this post#1
    Hello!

    For some reason MODx enjoys adding unused tags, to everything hence HTML Paragraph Tags, whether it forces these tags to wrap around my Template Variables, when there is no need for Paragraph tags and or when it adds Opening and Closing Paragraph Tags at the bottom of the content, regardless, TinyMCE is adding useless and unused Paragraph tags around and under everything.

    I have looked all over for the answer to this, but no one has given a true answer that would fix the issue.

    MODx is great, TinyMCE is great, I just have a few issues that need answering.

    Thank you so much!
    Aaron


  • 28042
    15,112
    How MODx Evo Works

    Log in to an Evo Manager username guest, password guestuser.

    sottwell Reply #2, 5 months ago

    Reply
    • Link to this post#2
    You can change the configuration to "forced_root_block 0", but then it won't put tags around anything. There's no way to configure TinyMCE to ignore MODx tags, or to consider them block-level elements.

    http://www.tinymce.com/wiki.php/Configuration:forced_root_block
    http://www.tinymce.com/wiki.php/TinyMCE_FAQ#Why_doesn.27t_TinyMCE_produce_BR_elements_on_enter.2Freturn_instead_of_P_elements.3F


  • 38072
    19

    noxaaron Reply #3, 5 months ago

    Reply
    • Link to this post#3
    Sottwell:

    Correction: MODx isn't adding the HTML Paragraph Tags, I am assuming that the TinyMCE is adding the unused tags. Because when I make template variables, I make the Input Type "Rich Tech Editor" hence TinyMCE, and I throw the HTML Code in there without Paragraph tags so it will, by default, be the same as that HTML that is desired. If I put HTML Tags into the Rich Text Editor as a default will it automatically add Paragraph Tags?

    Thank you!
    Aaron


  • 38072
    19

    noxaaron Reply #4, 5 months ago

    Reply
    • Link to this post#4
    Sottwell:

    Actually that did work!

    Thank you!
    Aaron





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
noxaaron, sottwell

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy