Clicking on disabled title allows the user to make any text a Heading 1
After you title the chapter, the title field as an option in the drop-down menu in the toolbar, is disabled. However users are still able to click on this disabled title field, which should not be accessible and becomes enabled after the first click.
Expected behavior
After assigning a title, the title field should be disabled and clicking on it should have no effect.
Users should not be able to assign as heading 1 other text in the chapter, unless they remove the heading 1 for the text that is already the title.
Current behavior
Users can click on the Title field even when it is disabled and therefore can modify as heading 1 more than one "paragraph".
Steps to reproduce
- Create a new chapter
- Add a title
- Check in the drop down in the toolbar that Title is disabled
- Click on the Title which is disabled
- Notice that Title is now enabled and you can add as Title many paragraphs
Check video below:
Screencast from 2.4.24 01:21:20.MD CEST.webm
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]