Closed resqiar closed 1 year ago
Here is the link to reproduce my problem, check this CodeSandbox, can someone explain what is going on? @thibaudcolas.
Never mind, after 2 months of silence, I figured it out myself. just override the default style this way
.Draftail-Editor--readonly {
pointer-events: auto !important;
}
.Draftail-Editor--readonly .DraftEditor-editorContainer::before {
display: none !important;
}
Hi, thank you for working on this great library!
I'm trying to integrate Linkify plugin to Draftail Editor, so I use this plugin draft-js-linkify-plugin, everything was fine, works great, but when the editor is in read-only mode, the link is not clickable, even though there is an anchor tag.
Readonly Mode
Editor Component
Package.json
So what I missed here? I tried to follow this example on CodeSandbox since Draftail examples do not work for me, unfortunately.