cdn js on paste not translate <a>
cs-sea opened this issue · comments
code
`
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script> <script src="https://cdn.jsdelivr.net/npm/@editorjs/paragraph@2.8.0/dist/bundle.min.js"></script> <script> var PromiseList = new Array; const editor = new EditorJS({ holder: 'editorjs', tools: { paragraph:Paragraph } }) let me = this editor.isReady.then(()=>{ me.editor = editor }) </script>`open brower
paste ddd
is return
{ "time": 1667758741889, "blocks": [ { "id": "S2hcGRf0eE", "type": "paragraph", "data": { "text": " ddd" } } ], "version": "2.25.0" }
expect
{ "time": 1667758741889, "blocks": [ { "id": "S2hcGRf0eE", "type": "paragraph", "data": { "text": "<a href = "xx"> ddd</a>" } } ], "version": "2.25.0" }