From 15eb927626a02148dd45db8773a762e7354d03bb Mon Sep 17 00:00:00 2001 From: Kirill Volkovich Date: Wed, 19 Sep 2018 12:28:08 +0300 Subject: [PATCH] Fix - can't toggle multiline ordered/unordered list after (Issue #154 , PR #155) --- .../components/PlainMarkdownInput/PlainMarkdownInput.react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/PlainMarkdownInput/PlainMarkdownInput.react.js b/src/client/components/PlainMarkdownInput/PlainMarkdownInput.react.js index 52bf6b19c..b616c09e3 100644 --- a/src/client/components/PlainMarkdownInput/PlainMarkdownInput.react.js +++ b/src/client/components/PlainMarkdownInput/PlainMarkdownInput.react.js @@ -471,7 +471,7 @@ class PlainMarkdownInput extends React.Component { let linkButton = this.getLinkButton({ disabled, locale }); let headerButtons = this.getHeaderButtons({ disabled, locale }); let listButtons = this.getAccentButtons({ - editorValue: editorState, disabled, locale, accents: ['ol', 'ul'] + editorValue: editorState, disabled: readOnly, locale, accents: ['ol', 'ul'] }); let additionalButtons = this.getAdditionalButtons(readOnly); let fullScreenButton = this.getFullScreenButton({ readOnly, locale, fullScreen });