How we can add schemaAware as true while unwrapping element
Posted: Fri Nov 18, 2022 8:41 am
Hi Team.
I am using below function for unwrapping selected element or tag.
this.editor.getActionsManager().invokeOperation('ro.sync.ecss.extensions.commons.operations.UnwrapTagsOperation',{})
But, even if it document will be invalid after unwrapping in such case also its unwrapping.
Can you please tell how to add validation while calling this method?
Thanks & Regards,
Smita
I am using below function for unwrapping selected element or tag.
this.editor.getActionsManager().invokeOperation('ro.sync.ecss.extensions.commons.operations.UnwrapTagsOperation',{})
But, even if it document will be invalid after unwrapping in such case also its unwrapping.
Can you please tell how to add validation while calling this method?
Thanks & Regards,
Smita