WYMeditor.editor.prototype.table = function (options) {
    var wym = this,
        tableEditor = new TableEditor(options, wym);
    wym.tableEditor = tableEditor;