diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-01-24 15:49:10 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-01-27 14:54:46 +0300 |
commit | 4fac0dcc66dbe8761fcc0a2926d0f7fc72cf69cd (patch) | |
tree | 2128399df7d5c9a39968fb3e2d9fd997379d6f0b /src/EditorFactory.js | |
parent | c5e2a7e8e27c4af69a581cfb272f82015a64d439 (diff) |
Fix node selection and clicking links
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/EditorFactory.js')
-rw-r--r-- | src/EditorFactory.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/EditorFactory.js b/src/EditorFactory.js index de0b03e8b..3a743f2b9 100644 --- a/src/EditorFactory.js +++ b/src/EditorFactory.js @@ -75,7 +75,9 @@ const createEditor = ({ content, onInit, onUpdate, extensions, enableRichEditing new Blockquote(), new CodeBlock(), new ListItem(), - new Link(), + new Link({ + openOnClick: true + }), new Image(), new Placeholder({ emptyNodeClass: 'is-empty', |