pell
pell copied to clipboard
User cannot restore the original size once applied Header style
When the highlighted text is applied with H1 or H2 button in the formatting bar. There is no option for user to restore back to original size of that particular text. The indication or toggle-able buttons on the formatting bar might be an enhancement to mitigate this issue.
I have noticed the same issue too, the execCommand with the command formatBlock
is used for this one and does not undo it's self when re executing it like it's the case for the bold or italic formatting an acceptable solution is to use the undo
command document.execCommand('undo', false, null)
.
Is this a bug or something that would need to be enhanced? I found this a bit counterintuitive when first using Pell.