How to use the alloyeditor.SelectionTest function in alloyeditor

To help you get started, we’ve selected a few alloyeditor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ezsystems / ezplatform-admin-ui / src / bundle / Resources / public / js / alloyeditor / src / toolbars / config / ez-text.js View on Github external
constructor(config) {
        this.name = 'text';
        this.buttons = [
            this.getStyles(config.customStyles),
            'ezbold',
            'ezitalic',
            'ezunderline',
            'ezsubscript',
            'ezsuperscript',
            'ezquote',
            'ezstrike',
            'ezlink',
        ];

        this.test = AlloyEditor.SelectionTest.text;
    }
github ezsystems / ezplatform-richtext / src / bundle / Resources / public / js / OnlineEditor / toolbars / config / ez-text.js View on Github external
constructor(config) {
        super(config);

        this.name = 'text';
        this.buttons = this.getButtons(config);

        this.test = AlloyEditor.SelectionTest.text;
    }
github ezsystems / ezplatform-admin-ui / src / bundle / Resources / public / js / alloyeditor / src / toolbars / config / ez-link.js View on Github external
constructor() {
        this.name = 'link';
        this.buttons = [
            'ezlinkedit',
        ];

        this.test = AlloyEditor.SelectionTest.link;
    }
github ezsystems / ezplatform-richtext / src / bundle / Resources / public / js / OnlineEditor / toolbars / config / ez-link.js View on Github external
constructor(config) {
        super(config);

        this.name = 'link';
        this.buttons = this.getButtons(config);

        this.test = AlloyEditor.SelectionTest.link;
    }