medium-editor
medium-editor copied to clipboard
When disableEditing is true, enable editing via toolbars.
Q | A |
---|---|
Bug fix? | yes |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
New tests added? | yes/not needed |
Fixed tickets | comma-separated list of tickets fixed by the PR, if any |
License | MIT |
Inspired by #1084
Description
Currently, when disableEditing: true
and when you highlight a piece of text, you can see the Medium toolbar, but clicking on the buttons doesn't change the text since contenteditable=false
.
Fix: allow toolbar editing when disable editing
This is my first time contributing to this repo - would love to hear your thoughts and suggestions!
Coverage decreased (-0.2%) to 94.285% when pulling 865c238e78cff3e08920fd6ac60748ca26631522 on tleewu:enable-toolbar-editing-when-edit-disabled into eef3ee0224a07121799f9d1389b3be4d1020937f on yabwe:master.
@nmielnik could you perhaps take a look at this PR and let me know if this is a feasible merge?
This should be pushed live by now?
Hey whats the update on this this is exactly what I need in my application