We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19928
    • 2 Posts
    Reading FCKeditor’s features and a few posts on this forum, it seems that the editor should be using <p> instead of
    , however I only get
    . The fckconfig.js file shows "FCKConfig.UseBROnCarriageReturn= false ;"

    Any ideas how to get it to use <p> instead of
    ?

    I noticed this also happens at the demo site:

    http://demo.opensourcecms.com/modx/manager

    Web Server
    ---------
    Xampp for Windows
    PHP 5.1.4
    Apache/2.2.2 (Win32)

    Browser
    -------
    Firefox and IE
    Windows XP

      • 4018
      • 1,131 Posts
      This has always been an issue with FCKEditor. Internet Explorer though will use a proper paragraph tag if you set the UseBROnCarriageReturn option to false and will let you force a break tag when you shift-return. For some reason, Firefox, Mozilla, and (I believe) Safari ignore this option and always use a BR tag (or no tag at all!) when you hit return...which is very annoying! There have been many posts on the subject and...well...I still haven’t seen any workaround to this. This is one of the reasons I use TinyMCE instead of FCKEditor...Tiny works flawlessly in this regard.
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
        • 19928
        • 2 Posts
        THANK YOU!

        TinyMCE is perfect! Although it took me a minute to realize it had a file and image manager, and an hour to figure out how to customize the buttons (to save the next guy some time: Resources: Manage Resources: Plugins: TinyMCE: edit that code)

        • Quote from: mo33 at Aug 11, 2006, 07:13 PM

          TinyMCE is perfect!
          It adds
          tags at the end of every line in <pre> tags. So I just set my css
          pre br {display:none;}

          but perfect it ain’t wink
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org