Commit 7917fe8a authored by Paul Ilea's avatar Paul Ilea
Browse files

[TASK] Update tinymce to 4.7.11

parent f706d65b
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
"name": "sg_tinymce", "name": "sg_tinymce",
"description": "", "description": "",
"dependencies": { "dependencies": {
"tinymce": "^4.6.5" "tinymce": "^4.7.11"
} }
} }
Version 4.7.11 (2018-04-11)
Added a new imagetools_credentials_hosts option to the Imagetools Plugin.
Fixed a bug where toggling a list containing empty LIs would throw an error. Patch contributed by bradleyke.
Fixed a bug where applying block styles to a text with the caret at the end of the paragraph would select all text in the paragraph.
Fixed a bug where toggling on the Spellchecker Plugin would trigger isDirty on the editor.
Fixed a bug where it was possible to enter content into selection bookmark spans.
Fixed a bug where if a non paragraph block was configured in forced_root_block the editor.getContent method would return incorrect values with an empty editor.
Fixed a bug where dropdown menu panels stayed open and fixed in position when dragging dialog windows.
Fixed a bug where it wasn't possible to extend table cells with the space button in Safari.
Fixed a bug where the setupeditor event would thrown an error when using the Compat3x Plugin.
Fixed a bug where an error was thrown in FontInfo when called on a detached element.
Version 4.7.10 (2018-04-03)
Removed the "read" step from the mobile theme.
Added normalization of triple clicks across browsers in the editor.
Added a `hasFocus` method to the editor that checks if the editor has focus.
Added correct icon to the Nonbreaking Plugin menu item.
Fixed so the `getContent`/`setContent` methods work even if the editor is not initialized.
Fixed a bug with the Media Plugin where query strings were being stripped from youtube links.
Fixed a bug where image styles were changed/removed when opening and closing the Image Plugin dialog.
Fixed a bug in the Table Plugin where some table cell styles were not correctly added to the content html.
Fixed a bug in the Spellchecker Plugin where it wasn't possible to change the spellchecker language.
Fixed so the the unlink action in the Link Plugin has a menu item and can be added to the contextmenu.
Fixed a bug where it wasn't possible to keyboard navigate to the start of an inline element on a new line within the same block element.
Fixed a bug with the Text Color Plugin where if used with an inline editor located at the bottom of the screen the colorpicker could appear off screen.
Fixed a bug with the UndoManager where undo levels were being added for nbzwsp characters.
Fixed a bug with the Table Plugin where the caret would sometimes be lost when keyboard navigating up through a table.
Fixed a bug where FontInfo.getFontFamily would throw an error when called on a removed editor.
Fixed a bug in Firefox where undo levels were not being added correctly for some specific operations.
Fixed a bug where initializing an inline editor inside of a table would make the whole table resizeable.
Fixed a bug where the fake cursor that appears next to tables on Firefox was positioned incorrectly when switching to fullscreen.
Fixed a bug where zwsp's weren't trimmed from the output from `editor.getContent({ format: 'text' })`.
Fixed a bug where the fontsizeselect/fontselect toolbar items showed the body info rather than the first possible caret position info on init.
Fixed a bug where it wasn't possible to select all content if the editor only contained an inline boundary element.
Fixed a bug where `content_css` urls with query strings wasn't working.
Fixed a bug in the Table Plugin where some table row styles were removed when changing other styles in the row properties dialog.
Version 4.7.9 (2018-02-27)
Fixed a bug where the editor target element didn't get the correct style when removing the editor.
Version 4.7.8 (2018-02-26)
Fixed an issue with the Help Plugin where the menuitem name wasn't lowercase.
Fixed an issue on MacOS where text and bold text did not have the same line-height in the autocomplete dropdown in the Link Plugin dialog.
Fixed a bug where the "paste as text" option in the Paste Plugin didn't work.
Fixed a bug where dialog list boxes didn't get positioned correctly in documents with scroll.
Fixed a bug where the Inlite Theme didn't use the Table Plugin api to insert correct tables.
Fixed a bug where the Inlite Theme panel didn't hide on blur in a correct way.
Fixed a bug where placing the cursor before a table in Firefox would scroll to the bottom of the table.
Fixed a bug where selecting partial text in table cells with rowspans and deleting would produce faulty tables.
Fixed a bug where the Preview Plugin didn't work on Safari due to sandbox security.
Fixed a bug where table cell selection using the keyboard threw an error.
Fixed so the font size and font family doesn't toggle the text but only sets the selected format on the selected text.
Fixed so the built-in spellchecking on Chrome and Safari creates an undo level when replacing words.
Version 4.7.7 (2018-02-19)
Added a border style selector to the advanced tab of the Image Plugin.
Added better controls for default table inserted by the Table Plugin.
Added new `table_responsive_width` option to the Table Plugin that controls whether to use pixel or percentage widths.
Fixed a bug where the Link Plugin text didn't update when a URL was pasted using the context menu.
Fixed a bug with the Spellchecker Plugin where using "Add to dictionary" in the context menu threw an error.
Fixed a bug in the Media Plugin where the preview node for iframes got default width and height attributes that interfered with width/height styles.
Fixed a bug where backslashes were being added to some font family names in Firefox in the fontselect toolbar item.
Fixed a bug where errors would be thrown when trying to remove an editor that had not yet been fully initialized.
Fixed a bug where the Imagetools Plugin didn't update the images atomically.
Fixed a bug where the Fullscreen Plugin was throwing errors when being used on an inline editor.
Fixed a bug where drop down menus weren't positioned correctly in inline editors on scroll.
Fixed a bug with a semicolon missing at the end of the bundled javascript files.
Fixed a bug in the Table Plugin with cursor navigation inside of tables where the cursor would sometimes jump into an incorrect table cells.
Fixed a bug where indenting a table that is a list item using the "Increase indent" button would create a nested table.
Fixed a bug where text nodes containing only whitespace were being wrapped by paragraph elements.
Fixed a bug where whitespace was being inserted after br tags inside of paragraph tags.
Fixed a bug where converting an indented paragraph to a list item would cause the list item to have extra padding.
Fixed a bug where Copy/Paste in an editor with a lot of content would cause the editor to scroll to the top of the content in IE11.
Fixed a bug with a memory leak in the DragHelper. Path contributed by ben-mckernan.
Fixed a bug where the advanced tab in the Media Plugin was being shown even if it didn't contain anything. Patch contributed by gabrieeel.
Fixed an outdated eventname in the EventUtils. Patch contributed by nazar-pc.
Fixed an issue where the Json.parse function would throw an error when being used on a page with strict CSP settings.
Fixed so you can place the curser before and after table elements within the editor in Firefox and Edge/IE.
Version 4.7.6 (2018-01-29)
Fixed a bug in the jquery integration where it threw an error saying that "global is not defined".
Fixed a bug where deleting a table cell whose previous sibling was set to contenteditable false would create a corrupted table.
Fixed a bug where highlighting text in an unfocused editor did not work correctly in IE11/Edge.
Fixed a bug where the table resize handles were not being repositioned when activating the Fullscreen Plugin.
Fixed a bug where the Imagetools Plugin dialog didn't honor editor RTL settings.
Fixed a bug where block elements weren't being merged correctly if you deleted from after a contenteditable false element to the beginning of another block element.
Fixed a bug where TinyMCE didn't work with module loaders like webpack.
Version 4.7.5 (2018-01-22)
Fixed bug with the Codesample Plugin where it wasn't possible to edit codesamples when the editor was in inline mode.
Fixed bug where focusing on the status bar broke the keyboard navigation functionality.
Fixed bug where an error would be thrown on Edge by the Table Plugin when pasting using the PowerPaste Plugin.
Fixed bug in the Table Plugin where selecting row border style from the dropdown menu in advanced row properties would throw an error.
Fixed bug with icons being rendered incorrectly on Chrome on Mac OS.
Fixed bug in the Textcolor Plugin where the font color and background color buttons wouldn't trigger an ExecCommand event.
Fixed bug in the Link Plugin where the url field wasn't forced LTR.
Fixed bug where the Nonbreaking Plugin incorrectly inserted spaces into tables.
Fixed bug with the inline theme where the toolbar wasn't repositioned on window resize.
Version 4.7.4 (2017-12-05)
Fixed bug in the Nonbreaking Plugin where the nonbreaking_force_tab setting was being ignored.
Fixed bug in the Table Plugin where changing row height incorrectly converted column widths to pixels.
Fixed bug in the Table Plugin on Edge and IE11 where resizing the last column after resizing the table would cause invalid column heights.
Fixed bug in the Table Plugin where keyboard navigation was not normalized between browsers.
Fixed bug in the Table Plugin where the colorpicker button would show even without defining the colorpicker_callback.
Fixed bug in the Table Plugin where it wasn't possible to set the cell background color.
Fixed bug where Firefox would throw an error when intialising an editor on an element that is hidden or not yet added to the DOM.
Fixed bug where Firefox would throw an error when intialising an editor inside of a hidden iframe.
Version 4.7.3 (2017-11-23)
Added functionality to open the Codesample Plugin dialog when double clicking on a codesample. Patch contributed by dakuzen.
Fixed bug where undo/redo didn't work correctly with some formats and caret positions.
Fixed bug where the color picker didn't show up in Table Plugin dialogs.
Fixed bug where it wasn't possible to change the width of a table through the Table Plugin dialog.
Fixed bug where the Charmap Plugin couldn't insert some special characters.
Fixed bug where editing a newly inserted link would not actually edit the link but insert a new link next to it.
Fixed bug where deleting all content in a table cell made it impossible to place the caret into it.
Fixed bug where the vertical alignment field in the Table Plugin cell properties dialog didn't do anything.
Fixed bug where an image with a caption showed two sets of resize handles in IE11.
Fixed bug where pressing the enter button inside of an h1 with contenteditable set to true would sometimes produce a p tag.
Fixed bug with backspace not working as expected before a noneditable element.
Fixed bug where operating on tables with invalid rowspans would cause an error to be thrown.
Fixed so a real base64 representation of the image is available on the blobInfo that the images_upload_handler gets called with.
Fixed so the image upload tab is available when the images_upload_handler is defined (and not only when the images_upload_url is defined).
Version 4.7.2 (2017-11-07)
Added newly rewritten Table Plugin.
Added support for attributes with colon in valid_elements and addValidElements.
Added support for dailymotion short url in the Media Plugin. Patch contributed by maat8.
Added support for converting to half pt when converting font size from px to pt. Patch contributed by danny6514.
Added support for location hash to the Autosave plugin to make it work better with SPAs using hash routing.
Added support for merging table cells when pasting a table into another table.
Changed so the language packs are only loaded once. Patch contributed by 0xor1.
Simplified the css for inline boundaries selection by switching to an attribute selector.
Fixed bug where an error would be thrown on editor initialization if the window.getSelection() returned null.
Fixed bug where holding down control or alt keys made the keyboard navigation inside an inline boundary not work as expected.
Fixed bug where applying formats in IE11 produced extra, empty paragraphs in the editor.
Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
Fixed bug where removing an inline editor removed the element that the editor had been initialized on.
Fixed bug where setting the selection to the end of an editable container caused some formatting problems.
Fixed bug where an error would be thrown sometimes when an editor was removed because of the selection bookmark was being stored asynchronously.
Fixed a bug where an editor initialized on an empty list did not contain any valid cursor positions.
Fixed a bug with the Context Menu Plugin and webkit browsers on Mac where right-clicking inside a table would produce an incorrect selection.
Fixed bug where the Image Plugin constrain proportions setting wasn't working as expected.
Fixed bug where deleting the last character in a span with decorations produced an incorrect element when typing.
Fixed bug where focusing on inline editors made the toolbar flicker when moving between elements quickly.
Fixed bug where the selection would be stored incorrectly in inline editors when the mouseup event was fired outside the editor body.
Fixed bug where toggling bold at the end of an inline boundary would toggle off the whole word.
Fixed bug where setting the skin to false would not stop the loading of some skin css files.
Fixed bug in mobile theme where pinch-to-zoom would break after exiting the editor.
Fixed bug where sublists of a fully selected list would not be switched correctly when changing list style.
Fixed bug where inserting media by source would break the UndoManager.
Fixed bug where inserting some content into the editor with a specific selection would replace some content incorrectly.
Fixed bug where selecting all content with ctrl+a in IE11 caused problems with untoggling some formatting.
Fixed bug where the Search and Replace Plugin left some marker spans in the editor when undoing and redoing after replacing some content.
Fixed bug where the editor would not get a scrollbar when using the Fullscreen and Autoresize plugins together.
Fixed bug where the font selector would stop working correctly after selecting fonts three times.
Fixed so pressing the enter key inside of an inline boundary inserts a br after the inline boundary element.
Fixed a bug where it wasn't possible to use tab navigation inside of a table that was inside of a list.
Fixed bug where end_container_on_empty_block would incorrectly remove elements.
Fixed bug where content_styles weren't added to the Preview Plugin iframe.
Fixed so the beforeSetContent/beforeGetContent events are preventable.
Fixed bug where changing height value in Table Plugin advanced tab didn't do anything.
Fixed bug where it wasn't possible to remove formatting from content in beginning of table cell.
Version 4.7.1 (2017-10-09)
Fixed bug where theme set to false on an inline editor produced an extra div element after the target element.
Fixed bug where the editor drag icon was misaligned with the branding set to false.
Fixed bug where doubled menu items were not being removed as expected with the removed_menuitems setting.
Fixed bug where the Table of contents plugin threw an error when initialized.
Fixed bug where it wasn't possible to add inline formats to text selected right to left.
Fixed bug where the paste from plain text mode did not work as expected.
Fixed so the style previews do not set color and background color when selected.
Fixed bug where the Autolink plugin didn't work as expected with some formats applied on an empty editor.
Fixed bug where the Textpattern plugin were throwing errors on some patterns.
Fixed bug where the Save plugin saved all editors instead of only the active editor. Patch contributed by dannoe.
Version 4.7.0 (2017-10-03)
Added new mobile ui that is specifically designed for mobile devices.
Updated the default skin to be more modern and white since white is preferred by most implementations.
Restructured the default menus to be more similar to common office suites like Google Docs.
Fixed so theme can be set to false on both inline and iframe editor modes.
Fixed bug where inline editor would add/remove the visualblocks css multiple times.
Fixed bug where selection wouldn't be properly restored when editor lost focus and commands where invoked.
Fixed bug where toc plugin would generate id:s for headers even though a toc wasn't inserted into the content.
Fixed bug where is wasn't possible to drag/drop contents within the editor if paste_data_images where set to true.
Fixed bug where getParam and close in WindowManager would get the first opened window instead of the last opened window.
Fixed bug where delete would delete between cells inside a table in Firefox.
Version 4.6.7 (2017-09-18)
Fixed bug where paste wasn't working in IOS.
Fixed bug where the Word Count Plugin didn't count some mathematical operators correctly.
Fixed bug where inserting a list in a table caused the cell to expand in height.
Fixed bug where pressing enter in a list located inside of a table deleted list items instead of inserting new list item.
Fixed bug where copy and pasting table cells produced inconsistent results.
Fixed bug where initializing an editor with an ID of 'length' would throw an exception.
Fixed bug where it was possible to split a non merged table cell.
Fixed bug where copy and pasting a list with a very specific selection into another list would produce a nested list.
Fixed bug where copy and pasting ordered lists sometimes produced unordered lists.
Fixed bug where padded elements inside other elements would be treated as empty.
Added some missing translations to Image, Link and Help plugins.
Fixed so you can resize images inside a figure element.
Fixed bug where an inline TinyMCE editor initialized on a table did not set selection on load in Chrome.
Fixed the positioning of the inlite toolbar when the target element wasn't big enough to fit the toolbar.
Version 4.6.6 (2017-08-30) Version 4.6.6 (2017-08-30)
Fixed so that notifications wrap long text content instead of bleeding outside the notification element. Fixed so that notifications wrap long text content instead of bleeding outside the notification element.
Fixed so the content_style css is added after the skin and custom stylesheets. Fixed so the content_style css is added after the skin and custom stylesheets.
...@@ -438,7 +630,7 @@ Version 4.3.0 (2015-11-23) ...@@ -438,7 +630,7 @@ Version 4.3.0 (2015-11-23)
Added new setMode method to Editor instances that lets you dynamically switch between design/readonly. Added new setMode method to Editor instances that lets you dynamically switch between design/readonly.
Added new core support for contentEditable=false elements within the editor overrides the browsers broken behavior. Added new core support for contentEditable=false elements within the editor overrides the browsers broken behavior.
Rewrote the noneditable plugin to use the new contentEditable false core logic. Rewrote the noneditable plugin to use the new contentEditable false core logic.
Fixed so the dirty state doesn't set set to false automatically when the undo index is set to 0. Fixed so the dirty state doesn't set to false automatically when the undo index is set to 0.
Fixed the Selection.placeCaretAt so it works better on IE when the coordinate is between paragraphs. Fixed the Selection.placeCaretAt so it works better on IE when the coordinate is between paragraphs.
Fixed bug where data-mce-bogus="all" element contents where counted by the word count plugin. Fixed bug where data-mce-bogus="all" element contents where counted by the word count plugin.
Fixed bug where contentEditable=false elements would be indented by the indent buttons. Fixed bug where contentEditable=false elements would be indented by the indent buttons.
...@@ -627,7 +819,7 @@ Version 4.1.7 (2014-11-27) ...@@ -627,7 +819,7 @@ Version 4.1.7 (2014-11-27)
Added new paste_convert_word_fake_lists option to enable users to disable the fake lists convert logic. Added new paste_convert_word_fake_lists option to enable users to disable the fake lists convert logic.
Fixed so advlist style changes adds undo levels for each change. Fixed so advlist style changes adds undo levels for each change.
Fixed bug where WebKit would sometimes produce an exception when the autolink plugin where looking for URLs. Fixed bug where WebKit would sometimes produce an exception when the autolink plugin where looking for URLs.
Fixed bug where IE 7 wouldn't be rendered properly due to to aggressive css compression. Fixed bug where IE 7 wouldn't be rendered properly due to aggressive css compression.
Fixed bug where DomQuery wouldn't accept window as constructor element. Fixed bug where DomQuery wouldn't accept window as constructor element.
Fixed bug where the color picker in 3.x dialogs wouldn't work properly. Patch contributed by Callidior. Fixed bug where the color picker in 3.x dialogs wouldn't work properly. Patch contributed by Callidior.
Fixed bug where the image plugin wouldn't respect the document_base_url. Fixed bug where the image plugin wouldn't respect the document_base_url.
......
{ {
"name": "tinymce/tinymce", "name": "tinymce/tinymce",
"version": "4.6.6", "version": "4.7.11",
"description": "Web based JavaScript HTML WYSIWYG editor control.", "description": "Web based JavaScript HTML WYSIWYG editor control.",
"license": [ "license": [
"LGPL-2.1" "LGPL-2.1-only"
], ],
"keywords": [ "keywords": [
"editor", "editor",
......
!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i<g;++i)h[i]=d(e[i]);var j=f.apply(null,h);if(void 0===j)throw"module ["+b+"] returned undefined";c.instance=j},c=function(b,c,d){if("string"!=typeof b)throw"module id must be a string";if(void 0===c)throw"no dependencies for "+b;if(void 0===d)throw"no definition function for "+b;a[b]={deps:c,defn:d,instance:void 0}},d=function(c){var d=a[c];if(void 0===d)throw"module ["+c+"] was undefined";return void 0===d.instance&&b(c),d.instance},e=function(a,b){for(var c=a.length,e=new Array(c),f=0;f<c;++f)e.push(d(a[f]));b.apply(null,b)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};var g=c;g("0",[],function(){return function(a){function b(){function a(a){"remove"===a&&this.each(function(a,b){var c=d(b);c&&c.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(a,b){var c=i().get(b.id.replace(/_parent$/,""));c&&c.remove()})}function b(b){var c,d=this;if(null!=b)a.call(d),d.each(function(a,c){var d;(d=i().get(c.id))&&d.setContent(b)});else if(d.length>0&&(c=i().get(d[0].id)))return c.getContent()}function d(a){var b=null;return a&&a.id&&g.tinymce&&(b=i().get(a.id)),b}function e(a){return!!(a&&a.length&&g.tinymce&&a.is(":tinymce"))}var h={};f.each(["text","html","val"],function(a,g){var i=h[g]=f.fn[g],j="text"===g;f.fn[g]=function(a){var g=this;if(!e(g))return i.apply(g,arguments);if(a!==c)return b.call(g.filter(":tinymce"),a),i.apply(g.not(":tinymce"),arguments),g;var h="",k=arguments;return(j?g:g.eq(0)).each(function(a,b){var c=d(b);h+=c?j?c.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):c.getContent({save:!0}):i.apply(f(b),k)}),h}}),f.each(["append","prepend"],function(a,b){var g=h[b]=f.fn[b],i="prepend"===b;f.fn[b]=function(a){var b=this;return e(b)?a!==c?("string"==typeof a&&b.filter(":tinymce").each(function(b,c){var e=d(c);e&&e.setContent(i?a+e.getContent():e.getContent()+a)}),g.apply(b.not(":tinymce"),arguments),b):void 0:g.apply(b,arguments)}}),f.each(["remove","replaceWith","replaceAll","empty"],function(b,c){var d=h[c]=f.fn[c];f.fn[c]=function(){return a.call(this,c),d.apply(this,arguments)}}),h.attr=f.fn.attr,f.fn.attr=function(a,g){var i=this,j=arguments;if(!a||"value"!==a||!e(i))return g!==c?h.attr.apply(i,j):h.attr.apply(i,j);if(g!==c)return b.call(i.filter(":tinymce"),g),h.attr.apply(i.not(":tinymce"),j),i;var k=i[0],l=d(k);return l?l.getContent({save:!0}):h.attr.apply(f(k),j)}}var c,d,e,f,g,h=[];g=a?a:window,f=g.jQuery;var i=function(){return g.tinymce};f.fn.tinymce=function(a){function c(){var c=[],d=0;e||(b(),e=!0),m.each(function(b,e){var f,g=e.id,h=a.oninit;g||(e.id=g=i().DOM.uniqueId()),i().get(g)||(f=i().createEditor(g,a),c.push(f),f.on("init",function(){var a,b=h;m.css("visibility",""),h&&++d==c.length&&("string"==typeof b&&(a=b.indexOf(".")===-1?null:i().resolve(b.replace(/\.\w+$/,"")),b=i().resolve(b)),b.apply(a||i(),c))}))}),f.each(c,function(a,b){b.render()})}var j,k,l,m=this,n="";if(!m.length)return m;if(!a)return i()?i().get(m[0].id):null;if(m.css("visibility","hidden"),g.tinymce||d||!(j=a.script_url))1===d?h.push(c):c();else{d=1,k=j.substring(0,j.lastIndexOf("/")),j.indexOf(".min")!=-1&&(n=".min"),g.tinymce=g.tinyMCEPreInit||{base:k,suffix:n},j.indexOf("gzip")!=-1&&(l=a.language||"en",j=j+(/\?/.test(j)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(a.theme||"modern")+"&plugins="+escape(a.plugins||"")+"&languages="+(l||""),g.tinyMCE_GZ||(g.tinyMCE_GZ={start:function(){function b(a){i().ScriptLoader.markDone(i().baseURI.toAbsolute(a))}b("langs/"+l+".js"),b("themes/"+a.theme+"/theme"+n+".js"),b("themes/"+a.theme+"/langs/"+l+".js"),f.each(a.plugins.split(","),function(a,c){c&&(b("plugins/"+c+"/plugin"+n+".js"),b("plugins/"+c+"/langs/"+l+".js"))})},end:function(){}}));var o=document.createElement("script");o.type="text/javascript",o.onload=o.onreadystatechange=function(b){b=b||window.event,2===d||"load"!=b.type&&!/complete|loaded/.test(o.readyState)||(i().dom.Event.domLoaded=1,d=2,a.script_loaded&&a.script_loaded(),c(),f.each(h,function(a,b){b()}))},o.src=j,document.body.appendChild(o)}return m},f.extend(f.expr[":"],{tinymce:function(a){var b;return!!(a.id&&"tinymce"in g&&(b=i().get(a.id),b&&b.editorManager===i()))}})}}),d("0")()}(); !function(){var f,c,u,p,d,s=[];d="undefined"!=typeof global?global:window,p=d.jQuery;var v=function(){return d.tinymce};p.fn.tinymce=function(o){var e,t,i,l=this,r="";if(!l.length)return l;if(!o)return v()?v().get(l[0].id):null;l.css("visibility","hidden");var n=function(){var a=[],c=0;u||(m(),u=!0),l.each(function(e,t){var n,i=t.id,r=o.oninit;i||(t.id=i=v().DOM.uniqueId()),v().get(i)||(n=v().createEditor(i,o),a.push(n),n.on("init",function(){var e,t=r;l.css("visibility",""),r&&++c==a.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:v().resolve(t.replace(/\.\w+$/,"")),t=v().resolve(t)),t.apply(e||v(),a))}))}),p.each(a,function(e,t){t.render()})};if(d.tinymce||c||!(e=o.script_url))1===c?s.push(n):n();else{c=1,t=e.substring(0,e.lastIndexOf("/")),-1!=e.indexOf(".min")&&(r=".min"),d.tinymce=d.tinyMCEPreInit||{base:t,suffix:r},-1!=e.indexOf("gzip")&&(i=o.language||"en",e=e+(/\?/.test(e)?"&":"?")+"js=true&core=true&suffix="+escape(r)+"&themes="+escape(o.theme||"modern")+"&plugins="+escape(o.plugins||"")+"&languages="+(i||""),d.tinyMCE_GZ||(d.tinyMCE_GZ={start:function(){var n=function(e){v().ScriptLoader.markDone(v().baseURI.toAbsolute(e))};n("langs/"+i+".js"),n("themes/"+o.theme+"/theme"+r+".js"),n("themes/"+o.theme+"/langs/"+i+".js"),p.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},end:function(){}}));var a=document.createElement("script");a.type="text/javascript",a.onload=a.onreadystatechange=function(e){e=e||window.event,2===c||"load"!=e.type&&!/complete|loaded/.test(a.readyState)||(v().dom.Event.domLoaded=1,c=2,o.script_loaded&&o.script_loaded(),n(),p.each(s,function(e,t){t()}))},a.src=e,document.body.appendChild(a)}return l},p.extend(p.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in d&&(t=v().get(e.id))&&t.editorManager===v())}});var m=function(){var r=function(e){"remove"===e&&this.each(function(e,t){var n=l(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=v().get(t.id.replace(/_parent$/,""));n&&n.remove()})},o=function(i){var e,t=this;if(null!=i)r.call(t),t.each(function(e,t){var n;(n=v().get(t.id))&&n.setContent(i)});else if(0<t.length&&(e=v().get(t[0].id)))return e.getContent()},l=function(e){var t=null;return e&&e.id&&d.tinymce&&(t=v().get(e.id)),t},u=function(e){return!!(e&&e.length&&d.tinymce&&e.is(":tinymce"))},s={};p.each(["text","html","val"],function(e,t){var a=s[t]=p.fn[t],c="text"===t;p.fn[t]=function(e){var t=this;if(!u(t))return a.apply(t,arguments);if(e!==f)return o.call(t.filter(":tinymce"),e),a.apply(t.not(":tinymce"),arguments),t;var i="",r=arguments;return(c?t:t.eq(0)).each(function(e,t){var n=l(t);i+=n?c?n.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):n.getContent({save:!0}):a.apply(p(t),r)}),i}}),p.each(["append","prepend"],function(e,t){var n=s[t]=p.fn[t],r="prepend"===t;p.fn[t]=function(i){var e=this;return u(e)?i!==f?("string"==typeof i&&e.filter(":tinymce").each(function(e,t){var n=l(t);n&&n.setContent(r?i+n.getContent():n.getContent()+i)}),n.apply(e.not(":tinymce"),arguments),e):void 0:n.apply(e,arguments)}}),p.each(["remove","replaceWith","replaceAll","empty"],function(e,t){var n=s[t]=p.fn[t];p.fn[t]=function(){return r.call(this,t),n.apply(this,arguments)}}),s.attr=p.fn.attr,p.fn.attr=function(e,t){var n=this,i=arguments;if(!e||"value"!==e||!u(n))return s.attr.apply(n,i);if(t!==f)return o.call(n.filter(":tinymce"),t),s.attr.apply(n.not(":tinymce"),i),n;var r=n[0],a=l(r);return a?a.getContent({save:!0}):s.attr.apply(p(r),i)}}}();
\ No newline at end of file \ No newline at end of file
!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i<g;++i)h[i]=d(e[i]);var j=f.apply(null,h);if(void 0===j)throw"module ["+b+"] returned undefined";c.instance=j},c=function(b,c,d){if("string"!=typeof b)throw"module id must be a string";if(void 0===c)throw"no dependencies for "+b;if(void 0===d)throw"no definition function for "+b;a[b]={deps:c,defn:d,instance:void 0}},d=function(c){var d=a[c];if(void 0===d)throw"module ["+c+"] was undefined";return void 0===d.instance&&b(c),d.instance},e=function(a,b){for(var c=a.length,e=new Array(c),f=0;f<c;++f)e.push(d(a[f]));b.apply(null,b)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};var g=c;g("0",[],function(){return function(a){function b(){function a(a){"remove"===a&&this.each(function(a,b){var c=d(b);c&&c.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(a,b){var c=i().get(b.id.replace(/_parent$/,""));c&&c.remove()})}function b(b){var c,d=this;if(null!=b)a.call(d),d.each(function(a,c){var d;(d=i().get(c.id))&&d.setContent(b)});else if(d.length>0&&(c=i().get(d[0].id)))return c.getContent()}function d(a){var b=null;return a&&a.id&&g.tinymce&&(b=i().get(a.id)),b}function e(a){return!!(a&&a.length&&g.tinymce&&a.is(":tinymce"))}var h={};f.each(["text","html","val"],function(a,g){var i=h[g]=f.fn[g],j="text"===g;f.fn[g]=function(a){var g=this;if(!e(g))return i.apply(g,arguments);if(a!==c)return b.call(g.filter(":tinymce"),a),i.apply(g.not(":tinymce"),arguments),g;var h="",k=arguments;return(j?g:g.eq(0)).each(function(a,b){var c=d(b);h+=c?j?c.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):c.getContent({save:!0}):i.apply(f(b),k)}),h}}),f.each(["append","prepend"],function(a,b){var g=h[b]=f.fn[b],i="prepend"===b;f.fn[b]=function(a){var b=this;return e(b)?a!==c?("string"==typeof a&&b.filter(":tinymce").each(function(b,c){var e=d(c);e&&e.setContent(i?a+e.getContent():e.getContent()+a)}),g.apply(b.not(":tinymce"),arguments),b):void 0:g.apply(b,arguments)}}),f.each(["remove","replaceWith","replaceAll","empty"],function(b,c){var d=h[c]=f.fn[c];f.fn[c]=function(){return a.call(this,c),d.apply(this,arguments)}}),h.attr=f.fn.attr,f.fn.attr=function(a,g){var i=this,j=arguments;if(!a||"value"!==a||!e(i))return g!==c?h.attr.apply(i,j):h.attr.apply(i,j);if(g!==c)return b.call(i.filter(":tinymce"),g),h.attr.apply(i.not(":tinymce"),j),i;var k=i[0],l=d(k);return l?l.getContent({save:!0}):h.attr.apply(f(k),j)}}var c,d,e,f,g,h=[];g=a?a:window,f=g.jQuery;var i=function(){return g.tinymce};f.fn.tinymce=function(a){function c(){var c=[],d=0;e||(b(),e=!0),m.each(function(b,e){var f,g=e.id,h=a.oninit;g||(e.id=g=i().DOM.uniqueId()),i().get(g)||(f=i().createEditor(g,a),c.push(f),f.on("init",function(){var a,b=h;m.css("visibility",""),h&&++d==c.length&&("string"==typeof b&&(a=b.indexOf(".")===-1?null:i().resolve(b.replace(/\.\w+$/,"")),b=i().resolve(b)),b.apply(a||i(),c))}))}),f.each(c,function(a,b){b.render()})}var j,k,l,m=this,n="";if(!m.length)return m;if(!a)return i()?i().get(m[0].id):null;if(m.css("visibility","hidden"),g.tinymce||d||!(j=a.script_url))1===d?h.push(c):c();else{d=1,k=j.substring(0,j.lastIndexOf("/")),j.indexOf(".min")!=-1&&(n=".min"),g.tinymce=g.tinyMCEPreInit||{base:k,suffix:n},j.indexOf("gzip")!=-1&&(l=a.language||"en",j=j+(/\?/.test(j)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(a.theme||"modern")+"&plugins="+escape(a.plugins||"")+"&languages="+(l||""),g.tinyMCE_GZ||(g.tinyMCE_GZ={start:function(){function b(a){i().ScriptLoader.markDone(i().baseURI.toAbsolute(a))}b("langs/"+l+".js"),b("themes/"+a.theme+"/theme"+n+".js"),b("themes/"+a.theme+"/langs/"+l+".js"),f.each(a.plugins.split(","),function(a,c){c&&(b("plugins/"+c+"/plugin"+n+".js"),b("plugins/"+c+"/langs/"+l+".js"))})},end:function(){}}));var o=document.createElement("script");o.type="text/javascript",o.onload=o.onreadystatechange=function(b){b=b||window.event,2===d||"load"!=b.type&&!/complete|loaded/.test(o.readyState)||(i().dom.Event.domLoaded=1,d=2,a.script_loaded&&a.script_loaded(),c(),f.each(h,function(a,b){b()}))},o.src=j,document.body.appendChild(o)}return m},f.extend(f.expr[":"],{tinymce:function(a){var b;return!!(a.id&&"tinymce"in g&&(b=i().get(a.id),b&&b.editorManager===i()))}})}}),d("0")()}(); !function(){var f,c,u,p,d,s=[];d="undefined"!=typeof global?global:window,p=d.jQuery;var v=function(){return d.tinymce};p.fn.tinymce=function(o){var e,t,i,l=this,r="";if(!l.length)return l;if(!o)return v()?v().get(l[0].id):null;l.css("visibility","hidden");var n=function(){var a=[],c=0;u||(m(),u=!0),l.each(function(e,t){var n,i=t.id,r=o.oninit;i||(t.id=i=v().DOM.uniqueId()),v().get(i)||(n=v().createEditor(i,o),a.push(n),n.on("init",function(){var e,t=r;l.css("visibility",""),r&&++c==a.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:v().resolve(t.replace(/\.\w+$/,"")),t=v().resolve(t)),t.apply(e||v(),a))}))}),p.each(a,function(e,t){t.render()})};if(d.tinymce||c||!(e=o.script_url))1===c?s.push(n):n();else{c=1,t=e.substring(0,e.lastIndexOf("/")),-1!=e.indexOf(".min")&&(r=".min"),d.tinymce=d.tinyMCEPreInit||{base:t,suffix:r},-1!=e.indexOf("gzip")&&(i=o.language||"en",e=e+(/\?/.test(e)?"&":"?")+"js=true&core=true&suffix="+escape(r)+"&themes="+escape(o.theme||"modern")+"&plugins="+escape(o.plugins||"")+"&languages="+(i||""),d.tinyMCE_GZ||(d.tinyMCE_GZ={start:function(){var n=function(e){v().ScriptLoader.markDone(v().baseURI.toAbsolute(e))};n("langs/"+i+".js"),n("themes/"+o.theme+"/theme"+r+".js"),n("themes/"+o.theme+"/langs/"+i+".js"),p.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},end:function(){}}));var a=document.createElement("script");a.type="text/javascript",a.onload=a.onreadystatechange=function(e){e=e||window.event,2===c||"load"!=e.type&&!/complete|loaded/.test(a.readyState)||(v().dom.Event.domLoaded=1,c=2,o.script_loaded&&o.script_loaded(),n(),p.each(s,function(e,t){t()}))},a.src=e,document.body.appendChild(a)}return l},p.extend(p.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in d&&(t=v().get(e.id))&&t.editorManager===v())}});var m=function(){var r=function(e){"remove"===e&&this.each(function(e,t){var n=l(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=v().get(t.id.replace(/_parent$/,""));n&&n.remove()})},o=function(i){var e,t=this;if(null!=i)r.call(t),t.each(function(e,t){var n;(n=v().get(t.id))&&n.setContent(i)});else if(0<t.length&&(e=v().get(t[0].id)))return e.getContent()},l=function(e){var t=null;return e&&e.id&&d.tinymce&&(t=v().get(e.id)),t},u=function(e){return!!(e&&e.length&&d.tinymce&&e.is(":tinymce"))},s={};p.each(["text","html","val"],function(e,t){var a=s[t]=p.fn[t],c="text"===t;p.fn[t]=function(e){var t=this;if(!u(t))return a.apply(t,arguments);if(e!==f)return o.call(t.filter(":tinymce"),e),a.apply(t.not(":tinymce"),arguments),t;var i="",r=arguments;return(c?t:t.eq(0)).each(function(e,t){var n=l(t);i+=n?c?n.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):n.getContent({save:!0}):a.apply(p(t),r)}),i}}),p.each(["append","prepend"],function(e,t){var n=s[t]=p.fn[t],r="prepend"===t;p.fn[t]=function(i){var e=this;return u(e)?i!==f?("string"==typeof i&&e.filter(":tinymce").each(function(e,t){var n=l(t);n&&n.setContent(r?i+n.getContent():n.getContent()+i)}),n.apply(e.not(":tinymce"),arguments),e):void 0:n.apply(e,arguments)}}),p.each(["remove","replaceWith","replaceAll","empty"],function(e,t){var n=s[t]=p.fn[t];p.fn[t]=function(){return r.call(this,t),n.apply(this,arguments)}}),s.attr=p.fn.attr,p.fn.attr=function(e,t){var n=this,i=arguments;if(!e||"value"!==e||!u(n))return s.attr.apply(n,i);if(t!==f)return o.call(n.filter(":tinymce"),t),s.attr.apply(n.not(":tinymce"),i),n;var r=n[0],a=l(r);return a?a.getContent({save:!0}):s.attr.apply(p(r),i)}}}();
\ No newline at end of file \ No newline at end of file
tinymce.addI18n('af_ZA',{
"Cut": "Sny",
"Heading 5": "Opskrif 5",
"Header 2": "Hooflyn 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Jou webblaaier ondersteun nie toegang tot die knipbord nie. Gebruik asb. Ctrl+X\/C\/V",
"Heading 4": "Opskrif 4",
"Div": "Div",
"Heading 2": "Opskrif 2",
"Paste": "Plak",
"Close": "Sluit",
"Font Family": "Font Familie",
"Pre": "Pre",
"Align right": "Regsgerig",
"New document": "Nuwe Dokument",
"Blockquote": "Aanhaling",
"Numbered list": "Genommerde lys",
"Heading 1": "Opskrif 1",
"Headings": "Opskrifte",
"Increase indent": "Inkeping vergroot",
"Formats": "Formate",
"Headers": "Hooflyn-tekste",
"Select all": "Alles selekteer",
"Header 3": "Hooflyn 3",
"Blocks": "Blokke",
"Undo": "Ongedaan maak",
"Strikethrough": "Deurhaal",
"Bullet list": "Opsommingsteken-lys",
"Header 1": "Hooflyn 1",
"Superscript": "Superskrif",
"Clear formatting": "Herstel Formateering",
"Font Sizes": "Font Groote",
"Subscript": "Subskrif",
"Header 6": "Hooflyn 6",
"Redo": "Herdoen",
"Paragraph": "Paragraaf",
"Ok": "OK",
"Bold": "Vetdruk",
"Code": "Kode",
"Italic": "Kursief",
"Align center": "Senteer",
"Header 5": "Hooflyn 5",
"Heading 6": "Opskrif 6",
"Heading 3": "Opskrif 3",
"Decrease indent": "Inkeping verklein",
"Header 4": "Hooflyn 4",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Die plak funksie is nou in plat-teks modus. Teks word ingevoeg sonder enige formateering, todat jy hierdie opsie wissel.",
"Underline": "Onderlyn",
"Cancel": "Kanselleer",
"Justify": "Gerigstelling",
"Inline": "Inlyn",
"Copy": "Kopieer",
"Align left": "Linksgerig",
"Visual aids": "Hulpmiddels",
"Lower Greek": "Griekse letters",
"Square": "Vierkantjie",
"Default": "Verstek",
"Lower Alpha": "Klein letters",
"Circle": "Sirkeltjie",
"Disc": "Balletjie",
"Upper Alpha": "Hoofletters",
"Upper Roman": "Romeinse syfers groot",
"Lower Roman": "Romeinse syfers klein",
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "Id moet met 'n letter begin en kan slegs deur letters, koppeltekens, syfers, punte en onderstreep-karakters gevolg word.",
"Name": "Geen",
"Anchor": "Anker",
"Id": "Id",
"You have unsaved changes are you sure you want to navigate away?": "Jy het ongestoorde wysigings op hierdier bladsy - is jy seker dat jy die bladsy wil verlaat?",
"Restore last draft": "Herstel die laatste konsep",
"Special character": "Spesiaale karakter",
"Source code": "Bron kode",
"Language": "Taal",
"Insert\/Edit code sample": "Voeg\/Redigeer voorbeeld-kode",
"B": "Blou",
"R": "Rooi",
"G": "Groen",
"Color": "Kleur",
"Right to left": "Regs na links",
"Left to right": "Links na regs",
"Emoticons": "Emoticons",
"Robots": "Robotte",
"Document properties": "Dokument eienskappe",
"Title": "Titel",
"Keywords": "Sleutelwoorde",
"Encoding": "Enkodeering",
"Description": "Beskrywing",
"Author": "Outeur",
"Fullscreen": "Volskerm",
"Horizontal line": "Horisontale lyn",
"Horizontal space": "Horisontale Spasie",
"Insert\/edit image": "Afbeelding invoeg\/bewerk",
"General": "Algemeen",
"Advanced": "Gevorderd",
"Source": "Bron",
"Border": "Rand",
"Constrain proportions": "Behou verhoudings",
"Vertical space": "Vertikale Spasie",
"Image description": "Afbeelding bemskrywing",
"Style": "Styl",
"Dimensions": "Afmetings",
"Insert image": "Afbeelding invoeg",
"Image": "Afbeelding",
"Zoom in": "Inzoem",
"Contrast": "Kontras",
"Back": "Terug",
"Gamma": "Gamma",
"Flip horizontally": "Horisontaal weerspie\\u00ebl",
"Resize": "Grootte wysig",
"Sharpen": "Verskerp",
"Zoom out": "Uitzoem",
"Image options": "Afbeelding opsies",
"Apply": "Toepas",
"Brightness": "Helderheid",
"Rotate clockwise": "Regsom draai",
"Rotate counterclockwise": "Linksom draai",
"Edit image": "Bewerk afbeelding",
"Color levels": "Kleurvlakke",
"Crop": "Afknip",
"Orientation": "Orienteering",
"Flip vertically": "Vertikaal weerspie\\u00ebl",
"Invert": "Omkeer",
"Date\/time": "Datum\/tyd",
"Insert date\/time": "Voeg datum\/tyd in",
"Remove link": "Verwyder skakel",
"Url": "URL",
"Text to display": "Skakelteks",
"Anchors": "Ankers",
"Insert link": "Skakel invoeg",
"Link": "Skakel",
"New window": "Nuwe Skerm",
"None": "Geen",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "Die URL verwys na 'n eksterne adres. Wil jy die \"http:\/\/\" voorvoegsel byvoeg?",
"Paste or type a link": "Plak of tik 'n skalel in",
"Target": "Teiken",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "Die URL lyk soos 'n eposadres. Wil jy die \"mailto:\" voorvoegsel byvoeg?",
"Insert\/edit link": "Skakel invoeg\/bewerk",
"Insert\/edit video": "Video invoeg\/bewerk",
"Media": "Media",
"Alternative source": "Alternatiewe bron",
"Paste your embed code below:": "Plak jou ingesluite kode hieronder in:",
"Insert video": "Video invoeg",
"Poster": "Plakaat",
"Insert\/edit media": "Media invoeg\/bewerk",
"Embed": "Insluit",
"Nonbreaking space": "Vaste spasie invoeg",
"Page break": "Nuwe Bladsy",
"Paste as text": "As teks plak",
"Preview": "Voorskou",
"Print": "Druk",
"Save": "Stoor",
"Could not find the specified string.": "Kon nie die gesoekde string vind nie",
"Replace": "Vervang",
"Next": "Volgende",
"Whole words": "Hele woorde",
"Find and replace": "Soek en vervang",
"Replace with": "Vervang Met",
"Find": "Soek",
"Replace all": "Vervang alles",
"Match case": "Kassensitief",
"Prev": "Vorige",
"Spellcheck": "Toets spelling",
"Finish": "Einde",
"Ignore all": "Ignoreer alles",
"Ignore": "Ignoreer",
"Add to Dictionary": "Voeg by woordeboek",
"Insert row before": "Voeg nuwe ry boaan",
"Rows": "Rye",
"Height": "Hoogte",
"Paste row after": "Plak ry na",
"Alignment": "Gerigdheid",
"Border color": "Randkleur",
"Column group": "Kolom Groep",
"Row": "Ry",
"Insert column before": "Voeg kolom vooraan",
"Split cell": "Sel split",
"Cell padding": "Ruimte binnein sel",
"Cell spacing": "Ruimte rondom sel",
"Row type": "Ry tipe",
"Insert table": "Tabel invoeg",
"Body": "Tabel Inhoud",
"Caption": "Onderskrif",
"Footer": "Voetskrif",
"Delete row": "Verwyder ry",
"Paste row before": "Plak ry vooraan",
"Scope": "Bereik",
"Delete table": "Skrap tabel",
"H Align": "Horisontaal-gerigdheid",
"Top": "Bo",
"Header cell": "Kop Sel",
"Column": "Kolom",
"Row group": "Ry Groep",
"Cell": "Sel",
"Middle": "Middel",
"Cell type": "Sel tipe",
"Copy row": "Kopieer ry",
"Row properties": "Ry eienskappe",
"Table properties": "Tabel eienskappe",
"Bottom": "Onder",
"V Align": "Vertikaal-rerigdheid",
"Header": "Kopteks",
"Right": "Regs",
"Insert column after": "Voeg kolom na",
"Cols": "Kolomme",
"Insert row after": "Voeg nuwe ry na",
"Width": "Wydte",
"Cell properties": "Sel eienskappe",
"Left": "Links",
"Cut row": "Knip ry",
"Delete column": "Verwyder kolom",
"Center": "Middel",
"Merge cells": "Selle saamvoeg",
"Insert template": "Sjabloon invoeg",
"Templates": "Sjablone",
"Background color": "Agtergrond Kleur",
"Custom...": "Spesifiek...",
"Custom color": "Spesifieke Kleur",
"No color": "Geen Kleur",
"Text color": "Teks Kleur",
"Table of Contents": "Inhoudsopgawe",
"Show blocks": "Blokke vertoon",
"Show invisible characters": "Onsigbare karakters vertoon",
"Words: {0}"