When switched to the HTML mode from the Editor mode the cursor disappears.
Description
I am having an issue with the Redactor Plugin. When I switch to the HTML mode the cursor disappears and then I have to find the spot where I need to insert HTML code. Before it was like the cursor stays on the same place where I leave it before switching to the HTML mode. Let me know if any config changes I am missing to add for it.
Also the HTML code disappears sometimes if I switch from HTML mode to Editor mode without saving the HTML code in HTML mode.
Steps to reproduce
- Enter data in the redactor field.
- Then put the cursor where you need to add HTML code.
- Switch to the HTML mode.
Additional info
- Craft version: Craft Pro 3.7.39
- PHP version: 7.4.28
- Database driver & version: MySQL 5.5.5
- Plugins & versions: 2.10.8
I'm seeing similar issues. I switch to HTML, make a change, and the change gets reverted…
Also the HTML code disappears sometimes if I switch from HTML mode to Editor mode without saving the HTML code in HTML mode.
That was reported separately @ #419, and Redactor 2.10.10 (Craft 3) and 3.0.2 (Craft 4) have been released with a fix.
Keeping this open as it wasn’t the primary bug reported. In the future, please only report one bug per GitHub issue though, thanks!
Thanks for fixing that one. But please try to fix the primary issue as it was the main one which causing us trouble in lengthy articles.
@azim1728 Yeah it’s still on my radar.
@brandonkelly Thank you.