tinymce icon indicating copy to clipboard operation
tinymce copied to clipboard

Formatting button disabled after linebreak

Open ferlimputra opened this issue 2 years ago • 1 comments

What is the current behavior? When typing some characters with formatting such as bold and pressing shift+enter for linebreak, the bold button will become disabled. This only happen one time, if I undo and apply bold again or do it in a new line then it will work as expected.

Steps to reproduce: This can be reproduced easily in the storybook: https://tinymce.github.io/tinymce-angular/?path=/story/editor--inline-editor

  1. Remove all content
  2. Input some text in bold
  3. Press shift+enter
  4. Input text again, bold will not be applied this time

What is the expected behavior? Shift+Enter should not disable/un-toggle the formatting button.

Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular? Tested in tinymce 4.6.5, but also reproduceable in tinymce angular storybook linked above.

ferlimputra avatar Jul 20 '23 13:07 ferlimputra

Ref: INT-3207

TinyITAdmin avatar Jul 20 '23 13:07 TinyITAdmin