medium-editor-mobile-plugin icon indicating copy to clipboard operation
medium-editor-mobile-plugin copied to clipboard

static, Sticky option does not work.

Open nanse opened this issue 8 years ago • 0 comments

Hi~

"Static" and "Sticky" do not work on mobile. help me. plz~~^^

my code:

var editor = new MediumEditor('.editable', {
      toolbar: {
        /* These are the default options for the toolbar,
           if nothing is passed this is what is used */
        allowMultiParagraphSelection: true,
        buttons: ['bold', 'italic', 'underline', 'anchor', 'h2', 'h3', 'quote'],
        diffLeft: 0,
        diffTop: -10,
        firstButtonClass: 'medium-editor-button-first',
        lastButtonClass: 'medium-editor-button-last',
        relativeContainer: null,
        standardizeSelectionStart: false,
        static: true,
        /* options which only apply when static is true */
        align: 'center',
        sticky: true,
        updateOnEmptySelection: false
    }
    });

nanse avatar Dec 09 '16 00:12 nanse