fix empty range items handling

pull/255/head
zadam 2021-01-05 14:24:25 +07:00
parent f8bec35893
commit c08c4531db
1 changed files with 3 additions and 1 deletions

@ -238,7 +238,9 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
let text = '';
for (const item of range.getItems()) {
text += item.data;
if (item.data) {
text += item.data;
}
}
return text;