Opened 10 years ago

Last modified 6 years ago

#3845 confirmed New Feature

'tabSpaces' config not working for source mode

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Reproducing Procedures

  1. Open the replace by code example page with the following config options:
    tabSpaces : 4
    
  2. Switch to 'source' mode, focus the text area, then press 'Tab Key'
  • Expected Result: Four spaces are inserted.
  • Actual Result: text area is blured.

Change History (3)

comment:1 Changed 10 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.0CKEditor 3.x
Type: BugNew Feature

Right now, this feature is wysiwyg mode only.

comment:2 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

comment:3 Changed 6 years ago by Jakub Ś

Behaviour got changed in CKEditor 3.6.2 - now when tabSpaces are used and tab is pressed in source mode nothing happens. This is happening in both CKE 4.x and 3.x from CKE 3.6.2.

Editor would probably have to insert   entities in source mode so that user could get desired effect in WYSIWYG.

This behaviour however should not overwrite behaviour for other features (like pressing tab in tables). Please see: #10517.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy