Skip to content

config.quicktable namespace #6

@bstarks

Description

@bstarks

Great plugin! Would you consider placing the quicktable configuration variables under the "config.quicktable" namespace to minimize potential name conflicts, and to facilitate cleaner automated installation processes?

In plugin.js, I believe changing line 5 would accomplish the job.
Old:
var conf = editor.config,
New:
var conf = editor.config.quicktable || {},

Usage would change to:
config.quicktable.varName = value;
Or:

config.quicktable = {
    varName1: 0,
    varName2: 5,
    ...
    varNameN: true
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions