You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug with Edge browser where format actions (such as bold) result in an Unable to get property 'textContent' of undefined or null reference if one tries to format the word he has just typed.
Steps to reproduce:
Make sure all SunEditor textarea is empty;
Type a word; select this word and apply some basic format (bold e.g.) to it.
If you do not type anything and first click a format option, it will break a new formated line in textarea, but (plus) it may lead to a new bug.
Steps to reproduce:
Make sure all SunEditor textarea is empty;
Click on Bold (cursor should move below) then type a first word;
Click back to Bold, hit and space a type another word;
Select that second word and click on Italic.
But it works with keyboard shortcuts
However I have noticed that everything works well if you use keyboard shortcuts, even if the error logs in console (Unable to get property 'textContent' of undefined or null reference).
The text was updated successfully, but these errors were encountered:
hi, and thank you for your great WYSIWYG,
There is a bug with Edge browser where format actions (such as bold) result in an
![SunEditor_bug_bold-just-typed-word](https://user-images.githubusercontent.com/1252585/83772208-714cb300-a683-11ea-8fa0-a434ce96c21d.gif)
Unable to get property 'textContent' of undefined or null reference
if one tries to format the word he has just typed.Steps to reproduce:
If you do not type anything and first click a format option, it will break a new formated line in textarea, but (plus) it may lead to a new bug.
![SunEditor_bug_bold-before-anything](https://user-images.githubusercontent.com/1252585/83774035-86c2dc80-a685-11ea-9e11-1cb45529f623.gif)
Steps to reproduce:
But it works with keyboard shortcuts
However I have noticed that everything works well if you use keyboard shortcuts, even if the error logs in console
(Unable to get property 'textContent' of undefined or null reference).
The text was updated successfully, but these errors were encountered: