Reputation: 271644
When I push "indent" on CKEDITOR, it creates a div with margin-left 40.
How can I change that number to 20?
Upvotes: 1
Views: 2254
Reputation: 258
You can also directly set in your editors config file
In config.js
CKEDITOR.editorConfig = function(config) {
config.indentOffset = 20;
};
Upvotes: 0
Reputation: 35409
Try the following:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.indentOffset
Below is the applicable source excerpt:
var indentOffset = editor.config.indentOffset || 40;
Upvotes: 3