How to use the alloyeditor.ButtonTableRemove 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 / buttons / ez-btn-tableremove.js View on Github external
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import AlloyEditor from 'alloyeditor';

export default class EzBtnTableRemove extends AlloyEditor.ButtonTableRemove {
    static get key() {
        return 'eztableremove';
    }

    render() {
        return (
            <button data-type="button-table-remove" aria-label="{AlloyEditor.Strings.deleteTable}"> {
                    this._removeTable();
                    this.fireCustomUpdateEvent();
                }}
                tabIndex={this.props.tabIndex}
                title={AlloyEditor.Strings.deleteTable}&gt;</button>
github ezsystems / ezplatform-richtext / src / bundle / Resources / public / js / OnlineEditor / buttons / ez-btn-tableremove.js View on Github external
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import AlloyEditor from 'alloyeditor';

export default class EzBtnTableRemove extends AlloyEditor.ButtonTableRemove {
    static get key() {
        return 'eztableremove';
    }

    render() {
        return (
            <button data-type="button-table-remove" aria-label="{AlloyEditor.Strings.deleteTable}"> {
                    this._removeTable();
                    this.fireCustomUpdateEvent();
                }}
                tabIndex={this.props.tabIndex}
                title={AlloyEditor.Strings.deleteTable}&gt;</button>