Sha256: 6b9bf97de646f2dd9318b9d48c4263eaf95058cbd930f388f50d64a6594ec38d

Contents?: true

Size: 545 Bytes

Versions: 9

Compression:

Stored size: 545 Bytes

Contents

CKEDITOR.plugins.add("cells", {
  icons: "insertcell",
  init: function(editor) {
    editor.addCommand("insertCellDialog", new CKEDITOR.dialogCommand("cellDialog"));

    CKEDITOR.dialog.add("cellDialog", "/assets/ckeditor/plugins/cells/dialogs/cells.js");

    editor.ui.addButton("InsertCell", {
      label: "Insert Cell",
      command: "insertCellDialog",
      icon: "/assets/ckeditor/plugins/cells/icons/insertcell.png",
    });
  },
});

CKEDITOR.dtd.$empty.cell = 1;
CKEDITOR.dtd.$nonEditable.cell = 1;
CKEDITOR.dtd.$object.cell = 1;

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
nacelle-0.6.0 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.5.0 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.4.2 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.4.1 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.4.0 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.3.2 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.3.1 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.3.0 app/assets/javascripts/ckeditor/plugins/cells/plugin.js
nacelle-0.2.4 app/assets/javascripts/ckeditor/plugins/cells/plugin.js