ckeditor / ckeditor4

The best enterprise-grade WYSIWYG editor. Fully customizable with countless features and plugins.
https://ckeditor.com/ckeditor-4
Other
5.78k stars 2.46k forks source link

After adding mathjax equation cursor moves to the beginning of line(left side) #5484

Open Divyesh-Shah-17 opened 1 year ago

Divyesh-Shah-17 commented 1 year ago

Type of report

Bug

Provide detailed reproduction steps (if any)

I am using mathjax to render math equations now when I enter some normal text and after that I add math expression which is non-editable then cursor goes to the beginning of the line, also if I enter to add multiple line in P mode then also this issue is replication for each line where I click it goes to beginning of that line

<p>normal text<span class="math-tex">\(66\)</span></p>

Note: if I add only math expression or if I add some text after math expression then it works fine

Expected result

Cursor should be at the end of line when clicked at the end of line using mouse

Actual result

Cursor moves to the starting of the line when click at the end of line using mouse

Other details

KarolDawidziuk commented 1 year ago

Hi @Divyesh-Shah-17

I can confirm this issue.

Divyesh-Shah-17 commented 1 year ago

is there any workaround for this ? @KarolDawidziuk