We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17815
    • 50 Posts
    Quote from: elz64 at Feb 02, 2010, 09:29 AM

    ok,

    that’s it!

    Well last thing the plugin works for plugin and snippet edition, but not at all for chunck or template.
    The events are correctly choosen...

    try to update plugin in modx pasting code from plugin.txt file from archive, there is some changes for template editing (i forget about them smiley ),

    also check on chunk page, at bottom - there will be Editor to use dropdown for choosing editor,
    plugin just set it to editarea by default,
    if there is no editarea in drop down - then you probably forget to check OnRichTextEditorInit and OnRichTextEditorRegister events,
    if it is there - it probably some cache issues, so you may try clear your browser cache.

    Alse check that this event is checked OnChunkFormPrerender (on PRErender not Render) Event
      • 8790
      • 526 Posts
      thank you

      it’s ok.

      Except the first bug I post (about the duplication of the line where edition cursor is inserted) is back. (was it gone? I’m not so sure now) undecided

      I call "ghost line" the duplication of the current edited line : As this line appears to be bolded, it looks like the editor duplicate it and paste it over the original. But there’s some gap beetween those line depending of the line position (like an html element absolutly positionned with a bad, but almost good y axis coordinate) sad

      THE LINE WHERE you click impacts the way the ghost line appears :
      line n°1 : no bug
      line n°2 : let’s say 2px of gap
      line°8 : 1 full line height of gap and so on
      The more the line number you edit is , the more the gap is.

        Schtroumpf Grognon - Grouchy Smurf
        ---------------------------------
        Faites pas attention.. - Don't pay attention
        http://www.dzi-neo.net
        • 17815
        • 50 Posts
        Quote from: elz64 at Feb 02, 2010, 10:20 AM

        I call "ghost line" the duplication of the current edited line : As this line appears to be bolded, it looks like the editor duplicate it and paste it over the original. But there’s some gap beetween those line depending of the line position (like an html element absolutly positionned with a bad, but almost good y axis coordinate) sad

        THE LINE WHERE you click impacts the way the ghost line appears :
        line n°1 : no bug
        line n°2 : let’s say 2px of gap
        line°8 : 1 full line height of gap and so on
        The more the line number you edit is , the more the gap is.


        Yeap, this is known bug, found it here: http://sourceforge.net/tracker/?func=detail&aid=2910154&group_id=164008&atid=829997

        when there will be new version of editarea that fixes this bug (and if i do not forget) i’ll update plugin

        ps: i do not have that problem, try other browser