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!

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

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:

  1. Simplest solution is putting cursor and pressing remove format button. You can then type normal text.
  2. You can also look at elements path which is very useful plugin that shows exactly where you are. If you see strong in elements path, you can click one character or space further to get out of strong element and then start typing

Hope this helps.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy