Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Anyone have this working with Advanced Editor WYSIWYG option?

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

  • 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

Sign In or Register to comment.