Opened 10 years ago
Closed 10 years ago
#12401 closed Task (invalid)
Caret and style in WYSIWYG
Reported by: | Vadim | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Is there a way to adjust caret behavior in WYSIWYG mode of CKE.
In general the routine and desired result:
1) You have some text and some words are bold or italic.
2) Move the caret to the end of these bold/italic words, hit space and start typing.
What happens: new word inherits the bold/italic style, it's a default behavior for all text editors.
Desired result: after hitting space and typing new words styles shouldn't be inherited from previous word.
Thanks in advance!
When you press bold button and type you want words to be bold until you disable bold button or Remove Format button. This works without problem.
When you put cursor next to bold text it may happen that you have put cursor inside strong tag (bold text) and not outside of it. Firefox can be extremely painful with this (good description about FF can be found here: http://dev.ckeditor.com/ticket/7796#comment:4).
There are two things you can do:
Hope this helps.