We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40447
    • 165 Posts
    This post is intended as a tip for your website clients.
    Nicedit is a great opensource wysiwyg editor for clients to edit their own website.
    Nicedit is definitely kiss based: simple, fast and effective. In most cases clients only
    want to edit/update text, pictures and static files. Nicedit is just perfect for this.
    I am trying to figure out how to make a plugin for this. Greetings Brian.
    http://nicedit.com/
    http://nicedit.com/demos.php
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      That's an interesting option, however integrating it with the file manager may prove a little trick. If you look at a simple editor like ACE (http://modx.com/extras/package/ace) it should get you started down the right trail.

      In regards to integrating with the file manager I would suggest checking out TinyMCE (http://modx.com/extras/package/tinymce), which on a side note can be limited to the buttons you want for the user.

      If you just want to change the default buttons in your System Settings choose "tinymce" under the core dropdown. Scroll down to the Custom Buttons Area and change the the five rows as desired. The second example (demo 1) could be accomplished by putting the following for the first row (others blank)

      bold,italic,underline,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,formatselect,outdent,indent,image,modxlink,styleprops


      You don't get the font size or font family dropdowns, also the two color pickers aren't offered directly, however the last item on the list gives you control over those items and a little more.

      I hope that helps some
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        CKEditor is also very nice, and has just had an updated release. http://modx.com/extras/package/ckeditor
          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
          • 40447
          • 165 Posts
          CKEditor is also very nice, and has just had an updated release
          Yes, I prefer CKEditor above Tinymce because Tinymce adds unexpected webcode while editing content, sometimes to the extend messing up everything. Just dig the forums how many of these problems people have with Tinymce. The forum tells you also that you can configure Tinymce exactly what to do and what not to do with html code tags. But untill you know this exact configuration Tinymce is problematic. Imo, not recommended for starters or clients with 0 content editing experience. There is really a need for a very basic and simple wysiwyg editor. Clients are asking for it.

          I just saw on the website of nicedit that you can also toggle nicedit on and off and that you can use it as an inline editor, great!
          http://www.nicedit.com/demos.php on the right side see demo3 and demo4. [ed. note: sitecms last edited this post 13 years, 9 months ago.]
            • 38339
            • 41 Posts
            I also do prefer CKEditor. Already used CKEditor before discovering MODX. I like the simple configs and (more or less) clean code of this RTE.
            But think, a really slim (small footprint) editor would be nice.

            Does anyone know Redactor? Looks very promising. But there's a license needed. So this is more a solution which has to be integrated/done/paid by the MODX team?
              Revolution 2.2.6
              • 28173
              • 409 Posts
              Redactor look very good.
              Is it easy to add this kind of editor on the MODX Manager ?
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                I want MarkItUp. HTML markup insertion, URL and image insertion, but not WYSIWYG. http://markitup.jaysalvat.com/home/
                  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
                  • 42967
                  • 143 Posts
                  Problem is tinymce is the only editor that works with MIGX. I have got it tamed now to produce super clean html, but it takes a bit of setup [ed. note: eighthday last edited this post 13 years, 5 months ago.]
                    Eighth day design
                    Design agency with offices in Edinburgh and Brighton
                    • 28173
                    • 409 Posts
                    For me the WYSIWYG is a big problem.
                    We are on 2013 and we can't get easily and with fiability clean HTML code with a WYSIWYG editor.
                    I'm using MODX since 2006 and I had never install WYSIWYG for my customer because to maintain after, it's quite impossible ! I'm using a lot of TV to segment content and avoid problem with customers.
                    In some case, I even prefer to teach the HTML basis to my customer instead of using a WYSIWYG editor under MODX.

                    I'm dreaming about a Redactor or MarkItUp easy to install, easy to configure, easy to use and which generate clean HTML.
                      • 42967
                      • 143 Posts
                      add
                        'inline_styles'  => false,
                      to the setProperties function in tinymce.class.php and the editor becomes much easier to work with. Then you can use the tinymce system settings like tiny.invalid_elements to really control what html is allowed in the editor.
                        Eighth day design
                        Design agency with offices in Edinburgh and Brighton