We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4429
    • 429 Posts
    Quote from: sharkbait at May 27, 2009, 04:46 AM

    hi,

    the part where you have to set it from
    forced_root_block:true,
    to
    forced_root_block:false,


    j

    that doesn’t exit. I’m using Tinymce3201 not 3101 i guess its different.
      • 26931
      • 2,314 Posts
      hmmm...then maybe try

      forced_root_block:'p',


      to

      forced_root_block:false,


      ?
        • 2901
        • 277 Posts
        thats it yes

        in tiny_mce.js

        set: forced_root_block: ’p’ to
        forced_root_block : false
          • 4429
          • 429 Posts
          Quote from: bbeer at May 27, 2009, 05:14 AM

          thats it yes

          in tiny_mce.js

          set: forced_root_block: ’p’ to
          forced_root_block : false


          No - this breaks my TinyMCE.

          forced_root_block: ’p’ appears two or times (can’t remember off the top of my head. But chaning this to forced_root_block: ’false’ breaks the editor. After loggin in then back out, if I click on edit page, my TinyMCE content box is blank i.e there is no content there. Now if i switch to ’none’ as my editor I can see the raw content.
            • 2901
            • 277 Posts
            not ’false’

            just false

            I use this in several sites and it works well.
              • 4429
              • 429 Posts
              Quote from: bbeer at May 27, 2009, 10:39 AM

              not ’false’

              just false

              I use this in several sites and it works well.

              Just false - in all instances? or just the first? I have also noted there is an instance where instead of ’p’ as the value there is <p> should this also be replaced?
                • 2901
                • 277 Posts
                just in the first instance, approx. line 19
                  • 4429
                  • 429 Posts
                  Quote from: bbeer at May 27, 2009, 11:17 AM

                  just in the first instance, approx. line 19

                  I dont have it around line 19 more like line 1000. Changing ’p’ to false has not worked.

                  I can’t post my tiny_mce.js as its over 30,000 characters

                    • 26931
                    • 2,314 Posts
                    @c-m

                    ...well, you’re right, setting forced_root_block:false, in MODx 9.6.3 is not working any more for me neither  huh
                      • 30765
                      • 66 Posts
                      Quote from: sharkbait at May 28, 2009, 12:30 PM

                      ...well, you’re right, setting forced_root_block:false, in MODx 9.6.3 is not working any more for me neither huh

                      It may be cached; easiest way to check that is just to load the file directly in a browser and shift-reload.

                      If it’s still not working, here’s my tiny_mce.js for reference:

                      http://idealog.co.nz/assets/plugins/tinymce3201/jscripts/tiny_mce/tiny_mce.js


                      Cheers
                      Matt