| | |
| | | |
| | | // Fixes a bug in IE where the caret cannot be placed after the table if the table is at the end of the document
|
| | | if (tinymce.isIE && node.nextSibling == null) {
|
| | | dom.insertAfter(dom.create('p'), node);
|
| | | if (inst.settings.forced_root_block)
|
| | | dom.insertAfter(dom.create(inst.settings.forced_root_block), node);
|
| | | else
|
| | | dom.insertAfter(dom.create('br', {'data-mce-bogus': '1'}), node);
|
| | | } |
| | |
|
| | | try {
|
| | |
| | | var formObj = document.forms[0];
|
| | | var elm = dom.getParent(inst.selection.getNode(), "table");
|
| | |
|
| | | // Hide advanced fields that isn't available in the schema
|
| | | tinymce.each("summary id rules dir style frame".split(" "), function(name) {
|
| | | var tr = tinyMCEPopup.dom.getParent(name, "tr") || tinyMCEPopup.dom.getParent("t" + name, "tr");
|
| | |
|
| | | if (tr && !tinyMCEPopup.editor.schema.isValid("table", name)) {
|
| | | tr.style.display = 'none';
|
| | | }
|
| | | });
|
| | |
|
| | | action = tinyMCEPopup.getWindowArg('action');
|
| | |
|
| | | if (!action)
|