We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Jason:

    Just in case you hadn't seen it yet, FCK Final Candidate was released yesterday. Might want to give it a shot; has a LOT of fixes. Also, the new templates feature and file manager are quite nice.

    According to changelog:
    The editor now uses the same method used on version RC2 to load its contents on Gecko. It is now possible to have more than one editor in the page. This change has a negative impact: the BaseHref property is not working.

    Ok, I updated my branch with this new version (a CTRL-R in Firefox finally revealed the page updates on their site :roll: ) and it appears to have solved the multiple editor instances per page in Gecko/Firefox bugs. And the template option looks really cool!
      • 32963
      • 1,732 Posts

      Ok, I updated my branch with this new version (a CTRL-R in Firefox finally revealed the page updates on their site :roll: ) and it appears to have solved the multiple editor instances per page in Gecko/Firefox bugs. And the template option looks really cool!

      Cool have you seen the FCK [[Placeholder]] plugin? It's the perfect template for creating an "Insert Snippet" FCK plugin
        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 22303 MODX Staff
        • 10,725 Posts

        Ok, I updated my branch with this new version (a CTRL-R in Firefox finally revealed the page updates on their site :roll: ) and it appears to have solved the multiple editor instances per page in Gecko/Firefox bugs. And the template option looks really cool!

        Cool have you seen the FCK [[Placeholder]] plugin? It's the perfect template for creating an "Insert Snippet" FCK plugin

        I haven't, but I'll check it out. Also, I just checked in the fix for saving TV richtext values with FCK in my branch. mutate_content.dynamic.action.php was the only updated file.
          • 32963
          • 1,732 Posts
          Hi Jason,

          Here' some information on how to get TinyMCE to work with forms:

          In tinymce setting extent the "extended_valid_elements" setting by adding the follow:

          select[name|id|size],option[value],form[enctype|name|onsubmit|action|method|target|title],input[type|name|id|align|size|maxlength|value|checked|multiple|rows|cols|title|onclick]

          http://forum.mamboserver.com/printthread.php?t=27443&page=5&pp=10

          http://www.cellardoor.za.net/tinymce-exp/
            xWisdom
            www.xwisdomhtml.com
            The fear of the Lord is the beginning of wisdom:
            MODx Co-Founder - Create and do more with less.
            • 22303 MODX Staff
            • 10,725 Posts
            Hi Jason,

            Here' some information on how to get TinyMCE to work with forms:

            In tinymce setting extent the "extended_valid_elements" setting by adding the follow:

            select[name|id|size],option[value],form[enctype|name|onsubmit|action|method|target|title],input[type|name|id|align|size|maxlength|value|checked|multiple|rows|cols|title|onclick]

            http://forum.mamboserver.com/printthread.php?t=27443&page=5&pp=10

            http://www.cellardoor.za.net/tinymce-exp/

            I guess my next question is, shouldn't we provide these options as part of the configuration settings in the manager? I was planning on extracting all relevant options, and then reworking the editor settings tab based on this.
              • 32963
              • 1,732 Posts

              I guess my next question is, shouldn't we provide these options as part of the configuration settings in the manager? I was planning on extracting all relevant options, and then reworking the editor settings tab based on this.

              Sure sounds great to me smiley
                xWisdom
                www.xwisdomhtml.com
                The fear of the Lord is the beginning of wisdom:
                MODx Co-Founder - Create and do more with less.
                • 32963
                • 1,732 Posts
                Well so far the FCK Template feature is taking the community by storm.

                Here's what I've found on the forums:


                To use templates only for parts of the editorarea (in my case: insert
                image
                within a div, specially formatted and styled ... without touching the
                rest of
                the editorarea), just open "dialog/fck_template.html" and change line
                161
                "FCK.SetHTML( FCK._Templates[index].Html ) ;"

                to

                "FCK.InsertHtml( FCK._Templates[index].Html ) ;"

                Now templating behaves like inserting an object!

                Maybe we should call it "Insert Template" and add a "replace content" checkbox to the form to replace all the content otherwise it will add to it?
                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.