Markdown Editor doesn't allow pasting
Jbithell opened this issue · 1 comments
hi, I'm one of the new Nouse editors. Thanks for setting up my account!
I was playing with the backend yesterday working out how to publish an article, and I noticed that you can't paste into the editor when it's in Markdown mode. I was just wondering how easy it would be to fix this, as it'd make editing images etc. a lot easier if you could! It'd also be a big plus for me personally, because I like to write in an external Markdown editor, so I'd be able to use that and then copy the raw Markdown over when it's ready.
I thought there might be an issue because there was some HTML in my Markdown, so I tried pasting just a few words of plain text in both Firefox and Edge, but it didn't work in either.
- En Sattaur
Sentry Error:
TypeError: Cannot read property 'html' of undefined
at ? (/article.php:3459:54)
at ? (/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:226196)
at r(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:4586)
at Object.a [as forEach](/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:4740)
at e.value(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:226166)
at ? (/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:954527)
at Te(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:47892)
at Mi(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:106837)
at Oi(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:107100)
at Qa(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:133954)
at ? (/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:134260)
at fr(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:88742)
at Ya(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:134237)
at HTMLTextAreaElement.<anonymous>(/ajax/libs/tui-editor/1.3.3/tui-editor-Editor-full.min.js:36:184166)
at HTMLTextAreaElement.d(raven.js:445:21)