We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1978
    • 131 Posts
    ok, thanks. I’ll try myself someday
      Как русифировать Modx 0.9.6.1(QuickEdit, TinyMCE)
      QuickEdit под win-1251 без mb_-функций
      • 2035
      • 19 Posts
      hi, Aramaki! Try do this:
      1) go to plugins->tinyMCE
      2) open tinyMCE’s properities
      3) your are welcome - ’width’! wink
        • 1978
        • 131 Posts
        nice... but doesn’t work sad still 100%

        after unlocking tried 500px and 500 - no effect.

        ctrl + R in manager changes nothing.

        does anybody can actually see the changes?
          Как русифировать Modx 0.9.6.1(QuickEdit, TinyMCE)
          QuickEdit под win-1251 без mb_-функций
          • 2035
          • 19 Posts
          Oops, i have the same problem, as Aramaki. It’s looks like a bug.
          ---
          Слушай, а зачем тебе устанавливать ширину? Если ты хочешь это сделать, чтобы расширить окно редактора, то советую использовать кнопку для TinyMCE - FullScreen.
            • 1978
            • 131 Posts
            I need to make it narrow to have the same width as on the website so editors see the layout without preview of the website itself
              Как русифировать Modx 0.9.6.1(QuickEdit, TinyMCE)
              QuickEdit под win-1251 без mb_-функций
              • 17499 ☆ A M B ☆
              • 872 Posts
              Hello,

              I have added the plugin pagebreak to tinymce which is button that insert an html comment <!-- pagebreak --> where i want the content to be cut.

              i use a little snippet to do so:

              <?php
              $content = $scriptProperties['input'];
              $splitter = $scriptProperties['options'];
              
              $pos = strpos($content, $splitter);
              if($pos !== $false){
              	return substr($content, 0, $pos);
              } else {
              	return $content;
              }
              


              which is used like an output filter:
              [[+content:ContentSplitter='<!-- pagebreak -->`]]
              


              On save TinyMCE seems to strip out all the html comment.
              If i check the db, the comment is not there anymore, and if i add another one manually like <!-- test --> it is stripped out also.

              If a desactivate tiny MCE it works well.

              Is it an activated options in tinyMCE setting ?

              EDIT

              It works and i’ve changed nothing. I don’t really understand...
                • 11363
                • 1 Posts
                Hello
                MODx Revolution 2.0.0-rc-3 rev7083
                TinyMCE 4.0.1-rc2

                TV is not saved for document when it’s input type is htmlarea.

                Could you help me please?
                  • 23491 ☆ A M B ☆
                  • 1,056 Posts
                  I noticed that TinyMCE has been leaving behind unwanted tags/attributes, plus is converting certain MODx Tags:

                  Quote from: "TinyMCE

                  <br mce_bogus="1">
                  <a href="[[%7E1]]"></a>

                  I’ve checked that "cleanup" is set to "Yes" in TinyMCE’s property set, and all three OnRichText* system events are active... Does anyone know how to prevent this from converting the MODx link tags and leaving "mce_bogus"
                  tag, etc?
                    Mike Reid - www.pixelchutes.com
                    MODx Ambassador / Contributor
                    [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                    ________________________________
                    Where every pixel matters.