Highlighting when editing behaves differently between editors
- [x] I've read and understood the contribution guidelines.
- [x] I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
The highlighting feature behaves differently between the block/Gutenberg and the classic editor when editing texts. With the highlighting feature turned on, in block editor, the highlighting mark-up is still visible, whereas in classic editor, the highlighting mark-up is not visible anymore.
It is unclear what's the desired behaviour here from a user perspective, so please discuss the status of this report (bug or feature request).
To Reproduce
Step-by-step reproduction instructions
- Create a post.
- Add some text, including a passive sentence.
- Activate the highlighting functionality for passive sentences, and confirm this passive sentence is being highlighted.
- Continue editing the post.
Expected results
- (in block/Gutenberg editor) The passive sentence is still highlighted while editing.
Actual results
- (in classic editor) The passive sentence is not highlighted anymore while editing (even though the icon indicates the highlighting is activated).
Screenshots, screen recording, code snippet
Block editor: https://user-images.githubusercontent.com/7521233/222409990-8a3b4be2-3a58-4be2-9369-13349760e25f.mov
Classic editor: https://user-images.githubusercontent.com/7521233/222410004-ee6ed2d8-7bb1-4b4d-bda8-5ee511f44c1c.mov
Technical info
- If relevant, which editor is affected (or editors):
- [x] Block Editor
- [x] Gutenberg Editor
- [ ] Elementor Editor
- [x] Classic Editor
- [ ] Other:
- Which browser is affected (or browsers):
- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Other:
Used versions
- Device you are using:
- Operating system:
- PHP version:
- WordPress version:
- WordPress Theme:
- Yoast SEO version: 20.3-RC
- Gutenberg plugin version:
- Elementor plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug:
Please inform the customer of conversation # 1116927 when this conversation has been closed.