Skip to content

How to configure in required pattern? #6

@rahimnagori

Description

@rahimnagori

@mysticfall , thank you for the work. I can now configure it in my Angular controller using:
CKEDITOR.config.lineheight_min = 1;
CKEDITOR.config.lineheight_max = 5;
CKEDITOR.config.letterspacing_min = 0;

But one more thing. Can I configure it like this:
$scope.editorOptions = {
language: 'en',
allowedContent : true,
extraPlugins : 'uploadimage,image2,spacingsliders',
spacingsliders : {
lineheight_min : 1,
lineheight_max : 20,
letterspacing_min : 0,
letterspacing_max : 20
}
};
or something similar ? I have tried many possibilities but no success.

Originally posted by @rahimnagori in https://github.com/_render_node/MDEyOklzc3VlQ29tbWVudDQ0NjA4MjgwOA==/timeline/issue_comment#issuecomment-446082808

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions