pell icon indicating copy to clipboard operation
pell copied to clipboard

User cannot restore the original size once applied Header style

Open detohm opened this issue 7 years ago • 2 comments

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.

detohm avatar Jul 23 '17 08:07 detohm

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).

ilyeshammadi avatar Jul 24 '17 16:07 ilyeshammadi

Is this a bug or something that would need to be enhanced? I found this a bit counterintuitive when first using Pell.

jamesdixon avatar Mar 20 '18 19:03 jamesdixon