selection manipulation
This commit is contained in:
@ -667,7 +667,10 @@ export class DeesWysiwygBlock extends DeesElement {
|
||||
} else if (this.block.type === 'code') {
|
||||
return editableElement.textContent || '';
|
||||
} else {
|
||||
return editableElement.innerHTML || '';
|
||||
// For regular blocks, get the innerHTML which includes formatting tags
|
||||
const content = editableElement.innerHTML || '';
|
||||
console.log('Getting content from block:', content);
|
||||
return content;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user