We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18878
    • 210 Posts
    Quote from: Bravado at May 31, 2007, 01:16 PM

    Take a look at the following wiki entry:

    http://wiki.modxcms.com/index.php/TinyMCE

    It should answer some of your questions. The "Full Featured" theme was removed in favor of the more slimmed down Content Editor theme. You can still use every plugin and button if you wish to by simply using the Custom theme and adding entries for all plugins and buttons. I prefer using the Content Editor theme...has just about everything I could ever use. And the Custom theme is great when you simply want a very specific configuration.

    Jeff

    Thanks a lot Bravado!
      • 21056
      • 327 Posts
      If you are upgrading to 2.1.11, and your link list has disappeared, it is because it has been moved to a config option in the plugin. To re-enable it, go to Resources -> Plugins -> TinyMCE -> Configuration, and change "List list" to enabled.

      Hope this is helpful to someone -- caught me out!
        Author: ManagerManager plugin - customise your ModX manager interface

        Rckt - web development, Sheffield, UK
        • 4018
        • 1,131 Posts
        Quote from: ncrossland at Jun 06, 2007, 09:13 AM

        If you are upgrading to 2.1.11, and your link list has disappeared, it is because it has been moved to a config option in the plugin. To re-enable it, go to Resources -> Plugins -> TinyMCE -> Configuration, and change "List list" to enabled.

        Hope this is helpful to someone -- caught me out!

        Yeah...sorry about that! Had to do it since some users might have large sites and having this enabled would cause a serious lag in performance. Imaging having to parse through over a 1000 pages! Ugg!
          Jeff Whitfield

          "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • 3785
          • 143 Posts
          Hallo everyone,

          I just started a few days ago to use TinyMCE with MODx and everything works out fine, except one thing:

          When I copy a text "Lorem ipsum dolor sit amet, consectetuer adipiscing elit." from somewhere (lets say an open TinyMCE editor) and paste it into my current documents TinyMCE editor and then have a look at the HTML code it looks like this:

          <p>
          <div style="line-height: 16px; color: #707070; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #ffffff; display: block; padding: 0px; margin: 0px">
          <p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: arial, sans-serif; font-size: 11px; line-height: 16px; color: #707070; margin-bottom: 11px; padding: 0px">
          <span class="Apple-style-span" style="white-space: pre-wrap; font-family: Courier New; color: #000000; padding: 0px; margin: 0px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</span>
          </p>
          </div>
          </p>
          


          For a HTML purist like me this is kind of very annoying. So what I basically need is to tell TinyMCE is to ignore the formatting of any pasted text. Although pondering the TinyMCE Wiki I could not find any hint how to do this.

          Has anyone any hints for me?

          Thanks a lot

          Bogdan

            Medianotions – Studio für Webdesign
            http://www.medianotions.de
            • 14050
            • 788 Posts
            On a default install of MODx, there should be two buttons in the top row with clipboards and the letters "T" and "W" in front of them. The one with the "T" pastes in plain text, which is what I believe you are trying to do. The one with the "W" tries to keep the formatting from something from Microsoft Word, but cleans up the junk it adds.

              Jesse R.
              Consider trying something new and extraordinary.
              Illinois Wine

              Have you considered donating to MODx lately?
              Donate now. Every contribution helps.
              • 3785
              • 143 Posts
              Hello Jesse,

              thanks for your reply. Yes you are right with the insert text function. But in the end its not me pasting the content, but my clients. And to explain to them to always use this function ... they won’t do it since it looks correct on the outside.

              There must be a better solution I hope? I mean if not ... that would mean that in the end the whole site would be full of tons of useless formating garbage, which is difficult to get rid of once it is there.

              Anyone else any idea? (I am a little desperate ...)

              Thanks

              Bogdan
                Medianotions – Studio für Webdesign
                http://www.medianotions.de
                • 30223
                • 1,010 Posts
                I think you should post this question on the moxiecode forums. This is more a TinyMCE issue then a ModX plugin issue. They are much more likely to have an answer for you.
                  • 3785
                  • 143 Posts
                  Hello Jelle,

                  yes I did already (http://tinymce.moxiecode.com/punbb/viewtopic.php?id=7427) but the support there is quite bad. Didn’t get any replies or hints. My idea was that there must be some TinyMCE specialists around here.

                  Thanks

                  Bogdan
                    Medianotions – Studio für Webdesign
                    http://www.medianotions.de
                    • 3785
                    • 143 Posts
                    So back again with some interesting news on my own question:


                    • it seems there is no real solution to the problem
                    • there are some hacks possible which work unfortunately only in IE
                    • I guess that I have to torture my clients to use the paste text popup

                    For everyone interested to learn more have a look at:

                    If anyone finds any kind of better solution some day please let me know smiley

                    Bogdan
                      Medianotions – Studio für Webdesign
                      http://www.medianotions.de
                      • 4018
                      • 1,131 Posts
                      Unfortunately, Bogdan, there isn’t a simple answer. Neither the Moxiecode or the FCKEditor development teams have their editors set to automatically cleanup Word HTML. Both provide plugins for this but, as you have found out, in order for them to work properly you have to initiate the plugin via a "Paste from Word" button. Neither will automatically do it via a CTRL+V (CMD+V on Mac) so removing the standard Paste button doesn’t fix the problem entirely. Question is, if the Word cleanup plugins were on all the time would they mess up pasted code that isn’t specifically Word HTML. That’s probably one of the primary reasons why they don’t make it a default cleanup option and have implemented it as a stand-alone plugin.

                      Now, in regards to your users not using the "Paste from Word" feature properly...well...my take on that is this...

                      You have to train your clients on how to use MODx anyways. If this is one of the features you emphasize to them and tell them how important it is to use and they don’t use it right, whose fault is that? I tell users around my office all the time and harp on them about a variety of things like this. You can only do so much. It’s their choice on whether they listen and learn or not. As long as you teach it to them and emphasize the importance then that is all you can do.

                      Also, if you really wanna bitch about it, blame Microsoft! wink I’ve always hated the fact that they use such crappy markup in the HTML of pasted text from Word! Good news is that Office 2007 seems to not have this problem nearly as much. About the only thing I noticed when pasting from Word 2007 is a few class attributes. smiley

                      Jeff
                        Jeff Whitfield

                        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."