JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.74k stars 309 forks source link

replace invisible charatcer U+00a0 with real whitespace so it does no… #1339

Closed iveretelnyk closed 10 months ago

iveretelnyk commented 10 months ago

Code contains some invisible character which supposed to be whitespace. This character break builds with webpack

Screenshot 2023-11-28 at 13 05 07
xstable commented 10 months ago

Please merge it, need it urgent :) @iveretelnyk @melloware, @manojpudasaini ... thanks for solving it.

aka-bassman commented 10 months ago

Merge it plz :) Thanks for solving the issue.

JiHong88 commented 10 months ago

Thank you for your contribution! I'll notify you after version update.

manojpudasaini commented 9 months ago

@JiHong88 Sorry to ping. But, Can you please push the version update patch or are there some blocking factors? Thank you,

gitpash commented 9 months ago

Thank you for the great library! same here, thanks for the fix, if possible let's release a patch beta version πŸ™πŸΌπŸ™πŸΌπŸ™πŸΌ

Magic-Jay commented 7 months ago

Hi,

Looks like another similar issue https://github.com/JiHong88/suneditor/issues/1367(https://github.com/JiHong88/suneditor/issues/1367#issue-2161561860) related to this, and the developer who submitted the issue also provided a fix for this. Can someone please take a look at this?

if (!context.element.wysiwyg.contains(this._variable._selectionNode)) {this._editorRange();}