josdejong/jsoneditor
Auf GitHub ansehenCannot paste styled/colored contents in Tree mode
Open
#1.259 geöffnet am 3. März 2021
bughelp wanted
Repository-Metriken
- Stars
- (10.781 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 15h 36m) (3 gemergte PRs in 30 T)
Beschreibung
In the tree mode, after paste plain text in fields, the pasted text was wrapped by a 'span' element and it cause the text cannot be selected or insert cursor. Atfer tesing several versions, I found the problem happens since version 8.6.7, previous version works fine.
<div contenteditable="true" spellcheck="false" class="jsoneditor-value jsoneditor-string jsoneditor-color-value" title>
<span>gold</span>
</div>