Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Anyone have this working with Advanced Editor WYSIWYG option?

This discussion is related to the Quote selection addon.

Works fine when the advanced editor is on markdown or bbcode but not working when on WYSIWYG option.
It only works if I toggle the HTML icon and then I do quote selection.

Does anyone have this working, what good way can I edit the code to make it work?

Comments

  • jackmaessenjackmaessen ✭✭✭
    edited March 2016

    I am using Html as inputformatter and that works fine for me without problems

    hgtonight
  • odannycodannyc New
    edited March 2016

    @jackmaessen said:
    I am using Html as inputformatter and that works fine for me without problems

    Hrmmmm.. Do you have an example?

    EDIT: Actually that works for me as well, BUT What about WYSIWYG formatter?

  • Found this in editor/js/editor.js on line 456:

         /**
         * Editor does not play well with Quotes plugin in Wysiwyg mode.
         */
        var editorHandleQuotesPlugin = function(editorInstance) {
            var editor = editorInstance;
    
             /*
             // handle Quotes plugin using own logic.
             $('.MessageList')
             .on('mouseup.QuoteReply', 'a.ReactButton.Quote', function(e) {
             // For the quotes plugin to insert the quoted text, it
             // requires that the textarea be pastable, which is not true
             // when not displayed, so momentarily toggle to it, then,
             // unavoidable, wait short interval to then allow wysihtml5
             // to toggle back and render the content.
    

    There is then a bunch more commented out code and notes on the difficulties with getting Quotes to work with wysiwyg format

    hgtonightsubdreamer
Sign In or Register to comment.