Primer Commit
951
assets/libs/tinymce/changelog.txt
Normal file
@@ -0,0 +1,951 @@
|
||||
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)
|
||||
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 bug where it wasn't possible to remove a table with the Cut button.
|
||||
Fixed bug where the center format wasn't getting the same font size as the other formats in the format preview.
|
||||
Fixed bug where the wordcount plugin wasn't counting hyphenated words correctly.
|
||||
Fixed bug where all content pasted into the editor was added to the end of the editor.
|
||||
Fixed bug where enter keydown on list item selection only deleted content and didn't create a new line.
|
||||
Fixed bug where destroying the editor while the content css was still loading caused error notifications on Firefox.
|
||||
Fixed bug where undoing cut operation in IE11 left some unwanted html in the editor content.
|
||||
Fixed bug where enter keydown would throw an error in IE11.
|
||||
Fixed bug where duplicate instances of an editor were added to the editors array when using the createEditor API.
|
||||
Fixed bug where the formatter applied formats on the wrong content when spellchecker was activated.
|
||||
Fixed bug where switching formats would reset font size on child nodes.
|
||||
Fixed bug where the table caption element weren't always the first descendant to the table tag.
|
||||
Fixed bug where pasting some content into the editor on chrome some newlines were removed.
|
||||
Fixed bug where it wasn't possible to remove a list if a list item was a table element.
|
||||
Fixed bug where copy/pasting partial selections of tables wouldn't produce a proper table.
|
||||
Fixed bug where the searchreplace plugin could not find consecutive spaces.
|
||||
Fixed bug where background color wasn't applied correctly on some partially selected contents.
|
||||
Version 4.6.5 (2017-08-02)
|
||||
Added new inline_boundaries_selector that allows you to specify the elements that should have boundaries.
|
||||
Added new local upload feature this allows the user to upload images directly from the image dialog.
|
||||
Added a new api for providing meta data for plugins. It will show up in the help dialog if it's provided.
|
||||
Fixed so that the notifications created by the notification manager are more screen reader accessible.
|
||||
Fixed bug where changing the list format on multiple selected lists didn't change all of the lists.
|
||||
Fixed bug where the nonbreaking plugin would insert multiple undo levels when pressing the tab key.
|
||||
Fixed bug where delete/backspace wouldn't render a caret when all editor contents where deleted.
|
||||
Fixed bug where delete/backspace wouldn't render a caret if the deleted element was a single contentEditable false element.
|
||||
Fixed bug where the wordcount plugin wouldn't count words correctly if word where typed after applying a style format.
|
||||
Fixed bug where the wordcount plugin would count mathematical formulas as multiple words for example 1+1=2.
|
||||
Fixed bug where formatting of triple clicked blocks on Chrome/Safari would result in styles being added outside the visual selection.
|
||||
Fixed bug where paste would add the contents to the end of the editor area when inline mode was used.
|
||||
Fixed bug where toggling off bold formatting on text entered in a new paragraph would add an extra line break.
|
||||
Fixed bug where autolink plugin would only produce a link on every other consecutive link on Firefox.
|
||||
Fixed bug where it wasn't possible to select all contents if the content only had one pre element.
|
||||
Fixed bug where sizzle would produce lagging behavior on some sites due to repaints caused by feature detection.
|
||||
Fixed bug where toggling off inline formats wouldn't include the space on selected contents with leading or trailing spaces.
|
||||
Fixed bug where the cut operation in UI wouldn't work in Chrome.
|
||||
Fixed bug where some legacy editor initialization logic would throw exceptions about editor settings not being defined.
|
||||
Fixed bug where it wasn't possible to apply text color to links if they where part of a non collapsed selection.
|
||||
Fixed bug where an exception would be thrown if the user selected a video element and then moved the focus outside the editor.
|
||||
Fixed bug where list operations didn't work if there where block elements inside the list items.
|
||||
Fixed bug where applying block formats to lists wrapped in block elements would apply to all elements in that wrapped block.
|
||||
Version 4.6.4 (2017-06-13)
|
||||
Fixed bug where the editor would move the caret when clicking on the scrollbar next to a content editable false block.
|
||||
Fixed bug where the text color select dropdowns wasn't placed correctly when they didn't fit the width of the screen.
|
||||
Fixed bug where the default editor line height wasn't working for mixed font size contents.
|
||||
Fixed bug where the content css files for inline editors were loaded multiple times for multiple editor instances.
|
||||
Fixed bug where the initial value of the font size/font family dropdowns wasn't displayed.
|
||||
Fixed bug where the I18n api was not supporting arrays as the translation replacement values.
|
||||
Fixed bug where chrome would display "The given range isn't in document." errors for invalid ranges passed to setRng.
|
||||
Fixed bug where the compat3x plugin wasn't working since the global tinymce references wasn't resolved correctly.
|
||||
Fixed bug where the preview plugin wasn't encoding the base url passed into the iframe contents producing a xss bug.
|
||||
Fixed bug where the dom parser/serializer wasn't handling some special elements like noframes, title and xmp.
|
||||
Fixed bug where the dom parser/serializer wasn't handling cdata sections with comments inside.
|
||||
Fixed bug where the editor would scroll to the top of the editable area if a dialog was closed in inline mode.
|
||||
Fixed bug where the link dialog would not display the right rel value if rel_list was configured.
|
||||
Fixed bug where the context menu would select images on some platforms but not others.
|
||||
Fixed bug where the filenames of images were not retained on dragged and drop into the editor from the desktop.
|
||||
Fixed bug where the paste plugin would misrepresent newlines when pasting plain text and having forced_root_block configured.
|
||||
Fixed so that the error messages for the imagetools plugin is more human readable.
|
||||
Fixed so the internal validate setting for the parser/serializer can't be set from editor initialization settings.
|
||||
Version 4.6.3 (2017-05-30)
|
||||
Fixed bug where the arrow keys didn't work correctly when navigating on nested inline boundary elements.
|
||||
Fixed bug where delete/backspace didn't work correctly on nested inline boundary elements.
|
||||
Fixed bug where image editing didn't work on subsequent edits of the same image.
|
||||
Fixed bug where charmap descriptions wouldn't properly wrap if they exceeded the width of the box.
|
||||
Fixed bug where the default image upload handler only accepted 200 as a valid http status code.
|
||||
Fixed so rel on target=_blank links gets forced with only noopener instead of both noopener and noreferrer.
|
||||
Version 4.6.2 (2017-05-23)
|
||||
Fixed bug where the SaxParser would run out of memory on very large documents.
|
||||
Fixed bug with formatting like font size wasn't applied to del elements.
|
||||
Fixed bug where various api calls would be throwing exceptions if they where invoked on a removed editor instance.
|
||||
Fixed bug where the branding position would be incorrect if the editor was inside a hidden tab and then later showed.
|
||||
Fixed bug where the color levels feature in the imagetools dialog wasn't working properly.
|
||||
Fixed bug where imagetools dialog wouldn't pre-load images from CORS domains, before trying to prepare them for editing.
|
||||
Fixed bug where the tab key would move the caret to the next table cell if being pressed inside a list inside a table.
|
||||
Fixed bug where the cut/copy operations would loose parent context like the current format etc.
|
||||
Fixed bug with format preview not working on invalid elements excluded by valid_elements.
|
||||
Fixed bug where blocks would be merged in incorrect order on backspace/delete.
|
||||
Fixed bug where zero length text nodes would cause issues with the undo logic if there where iframes present.
|
||||
Fixed bug where the font size/family select lists would throw errors if the first node was a comment.
|
||||
Fixed bug with csp having to allow local script evaluation since it was used to detect global scope.
|
||||
Fixed bug where CSP required a relaxed option for javascript: URLs in unsupported legacy browsers.
|
||||
Fixed bug where a fake caret would be rendered for td with the contenteditable=false.
|
||||
Fixed bug where typing would be blocked on IE 11 when within a nested contenteditable=true/false structure.
|
||||
Version 4.6.1 (2017-05-10)
|
||||
Added configuration option to list plugin to disable tab indentation.
|
||||
Fixed bug where format change on very specific content could cause the selection to change.
|
||||
Fixed bug where TinyMCE could not be lazyloaded through jquery integration.
|
||||
Fixed bug where entities in style attributes weren't decoded correctly on paste in webkit.
|
||||
Fixed bug where fontsize_formats option had been renamed incorrectly.
|
||||
Fixed bug with broken backspace/delete behaviour between contenteditable=false blocks.
|
||||
Fixed bug where it wasn't possible to backspace to the previous line with the inline boundaries functionality turned on.
|
||||
Fixed bug where is wasn't possible to move caret left and right around a linked image with the inline boundaries functionality turned on.
|
||||
Fixed bug where pressing enter after/before hr element threw exception. Patch contributed bradleyke.
|
||||
Fixed so the CSS in the visualblocks plugin doesn't overwrite background color. Patch contributed by Christian Rank.
|
||||
Fixed bug where multibyte characters weren't encoded correctly. Patch contributed by James Tarkenton.
|
||||
Fixed bug where shift-click to select within contenteditable=true fields wasn't working.
|
||||
Version 4.6.0 (2017-05-04)
|
||||
Dropped support for IE 8-10 due to market share and lack of support from Microsoft. See tinymce docs for details.
|
||||
Added an inline boundary caret position feature that makes it easier to type at the beginning/end of links/code elements.
|
||||
Added a help plugin that adds a button and a dialog showing the editor shortcuts and loaded plugins.
|
||||
Added an inline_boundaries option that allows you to disable the inline boundary feature if it's not desired.
|
||||
Added a new ScrollIntoView event that allows you to override the default scroll to element behavior.
|
||||
Added role and aria- attributes as valid elements in the default valid elements config.
|
||||
Added new internal flag for PastePreProcess/PastePostProcess this is useful to know if the paste was coming from an external source.
|
||||
Added new ignore function to UndoManager this works similar to transact except that it doesn't add an undo level by default.
|
||||
Fixed so that urls gets retained for images when being edited. This url is then passed on to the upload handler.
|
||||
Fixed so that the editors would be initialized on readyState interactive instead of complete.
|
||||
Fixed so that the init event of the editor gets fired once all contentCSS files have been properly loaded.
|
||||
Fixed so that width/height of the editor gets taken from the textarea element if it's explicitly specified in styles.
|
||||
Fixed so that keep_styles set to false no longer clones class/style from the previous paragraph on enter.
|
||||
Fixed so that the default line-height is 1.2em to avoid zwnbsp characters from producing text rendering glitches on Windows.
|
||||
Fixed so that loading errors of content css gets presented by a notification message.
|
||||
Fixed so figure image elements can be linked when selected this wraps the figure image in a anchor element.
|
||||
Fixed bug where it wasn't possible to copy/paste rows with colspans by using the table copy/paste feature.
|
||||
Fixed bug where the protect setting wasn't properly applied to header/footer parts when using the fullpage plugin.
|
||||
Fixed bug where custom formats that specified upper case element names where not applied correctly.
|
||||
Fixed bug where some screen readers weren't reading buttons due to an aria specific fix for IE 8.
|
||||
Fixed bug where cut wasn't working correctly on iOS due to it's clipboard API not working correctly.
|
||||
Fixed bug where Edge would paste div elements instead of paragraphs when pasting plain text.
|
||||
Fixed bug where the textpattern plugin wasn't dealing with trailing punctuations correctly.
|
||||
Fixed bug where image editing would some times change the image format from jpg to png.
|
||||
Fixed bug where some UI elements could be inserted into the toolbar even if they where not registered.
|
||||
Fixed bug where it was possible to click the TD instead of the character in the character map and that caused an exception.
|
||||
Fixed bug where the font size/font family dropdowns would sometimes show an incorrect value due to css not being loaded in time.
|
||||
Fixed bug with the media plugin inserting undefined instead of retaining size when media_dimensions was set to false.
|
||||
Fixed bug with deleting images when forced_root_blocks where set to false.
|
||||
Fixed bug where input focus wasn't properly handled on nested content editable elements.
|
||||
Fixed bug where Chrome/Firefox would throw an exception when selecting images due to recent change of setBaseAndExtent support.
|
||||
Fixed bug where malformed blobs would throw exceptions now they are simply ignored.
|
||||
Fixed bug where backspace/delete wouldn't work properly in some cases where all contents was selected in WebKit.
|
||||
Fixed bug with Angular producing errors since it was expecting events objects to be patched with their custom properties.
|
||||
Fixed bug where the formatter would apply formatting to spellchecker errors now all bogus elements are excluded.
|
||||
Fixed bug with backspace/delete inside table caption elements wouldn't behave properly on IE 11.
|
||||
Fixed bug where typing after a contenteditable false inline element could move the caret to the end of that element.
|
||||
Fixed bug where backspace before/after contenteditable false blocks wouldn't properly remove the right element.
|
||||
Fixed bug where backspace before/after contenteditable false inline elements wouldn't properly empty the current block element.
|
||||
Fixed bug where vertical caret navigation with a custom line-height would sometimes match incorrect positions.
|
||||
Fixed bug with paste on Edge where character encoding wasn't handled properly due to a browser bug.
|
||||
Fixed bug with paste on Edge where extra fragment data was inserted into the contents when pasting.
|
||||
Fixed bug with pasting contents when having a whole block element selected on WebKit could cause WebKit spans to appear.
|
||||
Fixed bug where the visualchars plugin wasn't working correctly showing invisible nbsp characters.
|
||||
Fixed bug where browsers would hang if you tried to load some malformed html contents.
|
||||
Fixed bug where the init call promise wouldn't resolve if the specified selector didn't find any matching elements.
|
||||
Fixed bug where the Schema isValidChild function was case sensitive.
|
||||
Version 4.5.3 (2017-02-01)
|
||||
Added keyboard navigation for menu buttons when the menu is in focus.
|
||||
Added api to the list plugin for setting custom classes/attributes on lists.
|
||||
Added validation for the anchor plugin input field according to W3C id naming specifications.
|
||||
Fixed bug where media placeholders were removed after resize with the forced_root_block setting set to false.
|
||||
Fixed bug where deleting selections with similar sibling nodes sometimes deleted the whole document.
|
||||
Fixed bug with inlite theme where several toolbars would appear scrolling when more than one instance of the editor was in use.
|
||||
Fixed bug where the editor would throw error with the fontselect plugin on hidden editor instances in Firefox.
|
||||
Fixed bug where the background color would not stretch to the font size.
|
||||
Fixed bug where font size would be removed when changing background color.
|
||||
Fixed bug where the undomanager trimmed away whitespace between nodes on undo/redo.
|
||||
Fixed bug where media_dimensions=false in media plugin caused the editor to throw an error.
|
||||
Fixed bug where IE was producing font/u elements within links on paste.
|
||||
Fixed bug where some button tooltips were broken when compat3x was in use.
|
||||
Fixed bug where backspace/delete/typeover would remove the caption element.
|
||||
Fixed bug where powerspell failed to function when compat3x was enabled.
|
||||
Fixed bug where it wasn't possible to apply sub/sup on text with large font size.
|
||||
Fixed bug where pre tags with spaces weren't treated as content.
|
||||
Fixed bug where Meta+A would select the entire document instead of all contents in nested ce=true elements.
|
||||
Version 4.5.2 (2017-01-04)
|
||||
Added missing keyboard shortcut description for the underline menu item in the format menu.
|
||||
Fixed bug where external blob urls wasn't properly handled by editor upload logic. Patch contributed by David Oviedo.
|
||||
Fixed bug where urls wasn't treated as a single word by the wordcount plugin.
|
||||
Fixed bug where nbsp characters wasn't treated as word delimiters by the wordcount plugin.
|
||||
Fixed bug where editor instance wasn't properly passed to the format preview logic. Patch contributed by NullQuery.
|
||||
Fixed bug where the fake caret wasn't hidden when you moved selection to a cE=false element.
|
||||
Fixed bug where it wasn't possible to edit existing code sample blocks.
|
||||
Fixed bug where it wasn't possible to delete editor contents if the selection included an empty block.
|
||||
Fixed bug where the formatter wasn't expanding words on some international characters. Patch contributed by Martin Larochelle.
|
||||
Fixed bug where the open link feature wasn't working correctly on IE 11.
|
||||
Fixed bug where enter before/after a cE=false block wouldn't properly padd the paragraph with an br element.
|
||||
Fixed so font size and font family select boxes always displays a value by using the runtime style as a fallback.
|
||||
Fixed so missing plugins will be logged to console as warnings rather than halting the initialization of the editor.
|
||||
Fixed so splitbuttons become normal buttons in advlist plugin if styles are empty. Patch contributed by René Schleusner.
|
||||
Fixed so you can multi insert rows/cols by selecting table cells and using insert rows/columns.
|
||||
Version 4.5.1 (2016-12-07)
|
||||
Fixed bug where the lists plugin wouldn't initialize without the advlist plugins if served from cdn.
|
||||
Fixed bug where selectors with "*" would cause the style format preview to throw an error.
|
||||
Fixed bug with toggling lists off on lists with empty list items would throw an error.
|
||||
Fixed bug where editing images would produce non existing blob uris.
|
||||
Fixed bug where the offscreen toc selection would be treated as the real toc element.
|
||||
Fixed bug where the aria level attribute for element path would have an incorrect start index.
|
||||
Fixed bug where the offscreen selection of cE=false that where very wide would be shown onscreen. Patch contributed by Steven Bufton.
|
||||
Fixed so the default_link_target gets applied to links created by the autolink plugin.
|
||||
Fixed so that the name attribute gets removed by the anchor plugin if editing anchors.
|
||||
Version 4.5.0 (2016-11-23)
|
||||
Added new toc plugin allows you to insert table of contents based on editor headings.
|
||||
Added new auto complete menu to all url fields. Adds history, link to anchors etc.
|
||||
Added new sidebar api that allows you to add custom sidebar panels and buttons to toggle these.
|
||||
Added new insert menu button that allows you to have multiple insert functions under the same menu button.
|
||||
Added new open link feature to ctrl+click, alt+enter and context menu.
|
||||
Added new media_embed_handler option to allow the media plugin to be populated with custom embeds.
|
||||
Added new support for editing transparent images using the image tools dialog.
|
||||
Added new images_reuse_filename option to allow filenames of images to be retained for upload.
|
||||
Added new security feature where links with target="_blank" will by default get rel="noopener noreferrer".
|
||||
Added new allow_unsafe_link_target to allow you to opt-out of the target="_blank" security feature.
|
||||
Added new style_formats_autohide option to automatically hide styles based on context.
|
||||
Added new codesample_content_css option to specify where the code sample prism css is loaded from.
|
||||
Added new support for Japanese/Chinese word count following the unicode standards on this.
|
||||
Added new fragmented undo levels this dramatically reduces flicker on contents with iframes.
|
||||
Added new live previews for complex elements like table or lists.
|
||||
Fixed bug where it wasn't possible to properly tab between controls in a dialog with a disabled form item control.
|
||||
Fixed bug where firefox would generate a rectangle on elements produced after/before a cE=false elements.
|
||||
Fixed bug with advlist plugin not switching list element format properly in some edge cases.
|
||||
Fixed bug where col/rowspans wasn't correctly computed by the table plugin in some cases.
|
||||
Fixed bug where the table plugin would thrown an error if object_resizing was disabled.
|
||||
Fixed bug where some invalid markup would cause issues when running in XHTML mode. Patch contributed by Charles Bourasseau.
|
||||
Fixed bug where the fullscreen class wouldn't be removed properly when closing dialogs.
|
||||
Fixed bug where the PastePlainTextToggle event wasn't fired by the paste plugin when the state changed.
|
||||
Fixed bug where table the row type wasn't properly updated in table row dialog. Patch contributed by Matthias Balmer.
|
||||
Fixed bug where select all and cut wouldn't place caret focus back to the editor in WebKit. Patch contributed by Daniel Jalkut.
|
||||
Fixed bug where applying cell/row properties to multiple cells/rows would reset other unchanged properties.
|
||||
Fixed bug where some elements in the schema would have redundant/incorrect children.
|
||||
Fixed bug where selector and target options would cause issues if used together.
|
||||
Fixed bug where drag/drop of images from desktop on chrome would thrown an error.
|
||||
Fixed bug where cut on WebKit/Blink wouldn't add an undo level.
|
||||
Fixed bug where IE 11 would scroll to the cE=false elements when they where selected.
|
||||
Fixed bug where keys like F5 wouldn't work when a cE=false element was selected.
|
||||
Fixed bug where the undo manager wouldn't stop the typing state when commands where executed.
|
||||
Fixed bug where unlink on wrapped links wouldn't work properly.
|
||||
Fixed bug with drag/drop of images on WebKit where the image would be deleted form the source editor.
|
||||
Fixed bug where the visual characters mode would be disabled when contents was extracted from the editor.
|
||||
Fixed bug where some browsers would toggle of formats applied to the caret when clicking in the editor toolbar.
|
||||
Fixed bug where the custom theme function wasn't working correctly.
|
||||
Fixed bug where image option for custom buttons required you to have icon specified as well.
|
||||
Fixed bug where the context menu and contextual toolbars would be visible at the same time and sometimes overlapping.
|
||||
Fixed bug where the noneditable plugin would double wrap elements when using the noneditable_regexp option.
|
||||
Fixed bug where tables would get padding instead of margin when you used the indent button.
|
||||
Fixed bug where the charmap plugin wouldn't properly insert non breaking spaces.
|
||||
Fixed bug where the color previews in color input boxes wasn't properly updated.
|
||||
Fixed bug where the list items of previous lists wasn't merged in the right order.
|
||||
Fixed bug where it wasn't possible to drag/drop inline-block cE=false elements on IE 11.
|
||||
Fixed bug where some table cell merges would produce incorrect rowspan/colspan.
|
||||
Fixed so the font size of the editor defaults to 14px instead of 11px this can be overridden by custom css.
|
||||
Fixed so wordcount is debounced to reduce cpu hogging on larger texts.
|
||||
Fixed so tinymce global gets properly exported as a module when used with some module bundlers.
|
||||
Fixed so it's possible to specify what css properties you want to preview on specific formats.
|
||||
Fixed so anchors are contentEditable=false while within the editor.
|
||||
Fixed so selected contents gets wrapped in a inline code element by the codesample plugin.
|
||||
Fixed so conditional comments gets properly stripped independent of case. Patch contributed by Georgii Dolzhykov.
|
||||
Fixed so some escaped css sequences gets properly handled. Patch contributed by Georgii Dolzhykov.
|
||||
Fixed so notifications with the same message doesn't get displayed at the same time.
|
||||
Fixed so F10 can be used as an alternative key to focus to the toolbar.
|
||||
Fixed various api documentation issues and typos.
|
||||
Removed layer plugin since it wasn't really ported from 3.x and there doesn't seem to be much use for it.
|
||||
Removed moxieplayer.swf from the media plugin since it wasn't used by the media plugin.
|
||||
Removed format state from the advlist plugin to be more consistent with common word processors.
|
||||
Version 4.4.3 (2016-09-01)
|
||||
Fixed bug where copy would produce an exception on Chrome.
|
||||
Fixed bug where deleting lists on IE 11 would merge in correct text nodes.
|
||||
Fixed bug where deleting partial lists with indentation wouldn't cause proper normalization.
|
||||
Version 4.4.2 (2016-08-25)
|
||||
Added new importcss_exclusive option to disable unique selectors per group.
|
||||
Added new group specific selector_converter option to importcss plugin.
|
||||
Added new codesample_languages option to apply custom languages to codesample plugin.
|
||||
Added new codesample_dialog_width/codesample_dialog_height options.
|
||||
Fixed bug where fullscreen button had an incorrect keyboard shortcut.
|
||||
Fixed bug where backspace/delete wouldn't work correctly from a block to a cE=false element.
|
||||
Fixed bug where smartpaste wasn't detecting links with special characters in them like tilde.
|
||||
Fixed bug where the editor wouldn't get proper focus if you clicked on a cE=false element.
|
||||
Fixed bug where it wasn't possible to copy/paste table rows that had merged cells.
|
||||
Fixed bug where merging cells could some times produce invalid col/rowspan attibute values.
|
||||
Fixed bug where getBody would sometimes thrown an exception now it just returns null if the iframe is clobbered.
|
||||
Fixed bug where drag/drop of cE=false element wasn't properly constrained to viewport.
|
||||
Fixed bug where contextmenu on Mac would collapse any selection to a caret.
|
||||
Fixed bug where rtl mode wasn't rendered properly when loading a language pack with the rtl flag.
|
||||
Fixed bug where Kamer word bounderies would be stripped from contents.
|
||||
Fixed bug where lists would sometimes render two dots or numbers on the same line.
|
||||
Fixed bug where the skin_url wasn't used by the inlite theme.
|
||||
Fixed so data attributes are ignored when comparing formats in the formatter.
|
||||
Fixed so it's possible to disable inline toolbars in the inlite theme.
|
||||
Fixed so template dialog gets resized if it doesn't fit the window viewport.
|
||||
Version 4.4.1 (2016-07-26)
|
||||
Added smart_paste option to paste plugin to allow disabling the paste behavior if needed.
|
||||
Fixed bug where png urls wasn't properly detected by the smart paste logic.
|
||||
Fixed bug where the element path wasn't working properly when multiple editor instances where used.
|
||||
Fixed bug with creating lists out of multiple paragraphs would just create one list item instead of multiple.
|
||||
Fixed bug where scroll position wasn't properly handled by the inlite theme to place the toolbar properly.
|
||||
Fixed bug where multiple instances of the editor using the inlite theme didn't render the toolbar properly.
|
||||
Fixed bug where the shortcut label for fullscreen mode didn't match the actual shortcut key.
|
||||
Fixed bug where it wasn't possible to select cE=false blocks using touch devices on for example iOS.
|
||||
Fixed bug where it was possible to select the child image within a cE=false on IE 11.
|
||||
Fixed so inserts of html containing lists doesn't merge with any existing lists unless it's a paste operation.
|
||||
Version 4.4.0 (2016-06-30)
|
||||
Added new inlite theme this is a more lightweight inline UI.
|
||||
Added smarter paste logic that auto detects urls in the clipboard and inserts images/links based on that.
|
||||
Added a better image resize algorithm for better image quality in the imagetools plugin.
|
||||
Fixed bug where it wasn't possible to drag/dropping cE=false elements on FF.
|
||||
Fixed bug where backspace/delete before/after a cE=false block would produce a new paragraph.
|
||||
Fixed bug where list style type css property wasn't preserved when indenting lists.
|
||||
Fixed bug where merging of lists where done even if the list style type was different.
|
||||
Fixed bug where the image_dataimg_filter function wasn't used when pasting images.
|
||||
Fixed bug where nested editable within a non editable element would cause scroll on focus in Chrome.
|
||||
Fixed so invalid targets for inline mode is blocked on initialization. We only support elements that can have children.
|
||||
Version 4.3.13 (2016-06-08)
|
||||
Added characters with a diacritical mark to charmap plugin. Patch contributed by Dominik Schilling.
|
||||
Added better error handling if the image proxy service would produce errors.
|
||||
Fixed issue with pasting list items into list items would produce nested list rather than a merged list.
|
||||
Fixed bug where table selection could get stuck in selection mode for inline editors.
|
||||
Fixed bug where it was possible to place the caret inside the resize grid elements.
|
||||
Fixed bug where it wasn't possible to place in elements horizontally adjacent cE=false blocks.
|
||||
Fixed bug where multiple notifications wouldn't be properly placed on screen.
|
||||
Fixed bug where multiple editor instance of the same id could be produces in some specific integrations.
|
||||
Version 4.3.12 (2016-05-10)
|
||||
Fixed bug where focus calls couldn't be made inside the editors PostRender event handler.
|
||||
Fixed bug where some translations wouldn't work as expected due to a bug in editor.translate.
|
||||
Fixed bug where the node change event could fire with a node out side the root of the editor.
|
||||
Fixed bug where Chrome wouldn't properly present the keyboard paste clipboard details when paste was clicked.
|
||||
Fixed bug where merged cells in tables couldn't be selected from right to left.
|
||||
Fixed bug where insert row wouldn't properly update a merged cells rowspan property.
|
||||
Fixed bug where the color input boxes preview field wasn't properly set on initialization.
|
||||
Fixed bug where IME composition inside table cells wouldn't work as expected on IE 11.
|
||||
Fixed so all shadow dom support is under and experimental flag due to flaky browser support.
|
||||
Version 4.3.11 (2016-04-25)
|
||||
Fixed bug where it wasn't possible to insert empty blocks though the API unless they where padded.
|
||||
Fixed bug where you couldn't type the Euro character on Windows.
|
||||
Fixed bug where backspace/delete from a cE=false element to a text block didn't work properly.
|
||||
Fixed bug where the text color default grid would render incorrectly.
|
||||
Fixed bug where the codesample plugin wouldn't load the css in the editor for multiple editors.
|
||||
Fixed so the codesample plugin textarea gets focused by default.
|
||||
Version 4.3.10 (2016-04-12)
|
||||
Fixed bug where the key "y" on WebKit couldn't be entered due to conflict with keycode for F10 on keypress.
|
||||
Version 4.3.9 (2016-04-12)
|
||||
Added support for focusing the contextual toolbars using keyboard.
|
||||
Added keyboard support for slider UI controls. You can no increase/decrease using arrow keys.
|
||||
Added url pattern matching for Dailymotion to media plugin. Patch contributed by Bertrand Darbon.
|
||||
Added body_class to template plugin preview. Patch contributed by Milen Petrinski.
|
||||
Added options to better override textcolor pickers with custom colors. Patch contributed by Xavier Boubert.
|
||||
Added visual arrows to inline contextual toolbars so that they point to the element being active.
|
||||
Fixed so toolbars for tables or other larger elements get better positioned below the scrollable viewport.
|
||||
Fixed bug where it was possible to click links inside cE=false blocks.
|
||||
Fixed bug where event targets wasn't properly handled in Safari Technical Preview.
|
||||
Fixed bug where drag/drop text in FF 45 would make the editor caret invisible.
|
||||
Fixed bug where the remove state wasn't properly set on editor instances when detected as clobbered.
|
||||
Fixed bug where offscreen selection of some cE=false elements would render onscreen. Patch contributed by Steven Bufton
|
||||
Fixed bug where enter would clone styles out side the root on editors inside a span. Patch contributed by ChristophKaser.
|
||||
Fixed bug where drag/drop of images into the editor didn't work correctly in FF.
|
||||
Fixed so the first item in panels for the imagetools dialog gets proper keyboard focus.
|
||||
Changed the Meta+Shift+F shortcut to Ctrl+Shift+F since Czech, Slovak, Polish languages used the first one for input.
|
||||
Version 4.3.8 (2016-03-15)
|
||||
Fixed bug where inserting HR at the end of a block element would produce an extra empty block.
|
||||
Fixed bug where links would be clickable when readonly mode was enabled.
|
||||
Fixed bug where the formatter would normalize to the wrong node on very specific content.
|
||||
Fixed bug where some nested list items couldn't be indented properly.
|
||||
Fixed bug where links where clickable in the preview dialog.
|
||||
Fixed so the alt attribute doesn't get padded with an empty value by default.
|
||||
Fixed so nested alignment works more correctly. You will now alter the alignment to the closest block parent.
|
||||
Version 4.3.7 (2016-03-02)
|
||||
Fixed bug where incorrect icons would be rendered for imagetools edit and color levels.
|
||||
Fixed bug where navigation using arrow keys inside a SelectBox didn't move up/down.
|
||||
Fixed bug where the visualblocks plugin would render borders round internal UI elements.
|
||||
Version 4.3.6 (2016-03-01)
|
||||
Added new paste_remember_plaintext_info option to allow a global disable of the plain text mode notification.
|
||||
Added new PastePlainTextToggle event that fires when plain text mode toggles on/off.
|
||||
Fixed bug where it wasn't possible to select media elements since the drag logic would snap it to mouse cursor.
|
||||
Fixed bug where it was hard to place the caret inside nested cE=true elements when the outer cE=false element was focused.
|
||||
Fixed bug where editors wouldn't properly initialize if both selector and mode where used.
|
||||
Fixed bug where IME input inside table cells would switch the IME off.
|
||||
Fixed bug where selection inside the first table cell would cause the whole table cell to get selected.
|
||||
Fixed bug where error handling of images being uploaded wouldn't properly handle faulty statuses.
|
||||
Fixed bug where inserting contents before a HR would cause an exception to be thrown.
|
||||
Fixed bug where copy/paste of Excel data would be inserted as an image.
|
||||
Fixed caret position issues with copy/paste of inline block cE=false elements.
|
||||
Fixed issues with various menu item focus bugs in Chrome. Where the focused menu bar item wasn't properly blurred.
|
||||
Fixed so the notifications have a solid background since it would be hard to read if there where text under it.
|
||||
Fixed so notifications gets animated similar to the ones used by dialogs.
|
||||
Fixed so larger images that gets pasted is handled better.
|
||||
Fixed so the window close button is more uniform on various platform and also increased it's hit area.
|
||||
Version 4.3.5 (2016-02-11)
|
||||
Npm version bump due to package not being fully updated.
|
||||
Version 4.3.4 (2016-02-11)
|
||||
Added new OpenWindow/CloseWindow events that gets fired when windows open/close.
|
||||
Added new NewCell/NewRow events that gets fired when table cells/rows are created.
|
||||
Added new Promise return value to tinymce.init makes it easier to handle initialization.
|
||||
Removed the jQuery version the jQuery plugin is now moved into the main package.
|
||||
Removed jscs from build process since eslint can now handle code style checking.
|
||||
Fixed various bugs with drag/drop of contentEditable:false elements.
|
||||
Fixed bug where deleting of very specific nested list items would result in an odd list.
|
||||
Fixed bug where lists would get merged with adjacent lists outside the editable inline root.
|
||||
Fixed bug where MS Edge would crash when closing a dialog then clicking a menu item.
|
||||
Fixed bug where table cell selection would add undo levels.
|
||||
Fixed bug where table cell selection wasn't removed when inline editor where removed.
|
||||
Fixed bug where table cell selection wouldn't work properly on nested tables.
|
||||
Fixed bug where table merge menu would be available when merging between thead and tbody.
|
||||
Fixed bug where table row/column resize wouldn't get properly removed when the editor was removed.
|
||||
Fixed bug where Chrome would scroll to the editor if there where a empty hash value in document url.
|
||||
Fixed bug where the cache suffix wouldn't work correctly with the importcss plugin.
|
||||
Fixed bug where selection wouldn't work properly on MS Edge on Windows Phone 10.
|
||||
Fixed so adjacent pre blocks gets joined into one pre block since that seems like the user intent.
|
||||
Fixed so events gets properly dispatched in shadow dom. Patch provided by Nazar Mokrynskyi.
|
||||
Version 4.3.3 (2016-01-14)
|
||||
Added new table_resize_bars configuration setting. This setting allows you to disable the table resize bars.
|
||||
Added new beforeInitialize event to tinymce.util.XHR lets you modify XHR properties before open. Patch contributed by Brent Clintel.
|
||||
Added new autolink_pattern setting to autolink plugin. Enables you to override the default autolink formats. Patch contributed by Ben Tiedt.
|
||||
Added new charmap option that lets you override the default charmap of the charmap plugin.
|
||||
Added new charmap_append option that lets you add new characters to the default charmap of the charmap plugin.
|
||||
Added new insertCustomChar event that gets fired when a character is inserted by the charmap plugin.
|
||||
Fixed bug where table cells started with a superfluous in IE10+.
|
||||
Fixed bug where table plugin would retain all BR tags when cells were merged.
|
||||
Fixed bug where media plugin would strip underscores from youtube urls.
|
||||
Fixed bug where IME input would fail on IE 11 if you typed within a table.
|
||||
Fixed bug where double click selection of a word would remove the space before the word on insert contents.
|
||||
Fixed bug where table plugin would produce exceptions when hovering tables with invalid structure.
|
||||
Fixed bug where fullscreen wouldn't scroll back to it's original position when untoggled.
|
||||
Fixed so the template plugins templates setting can be a function that gets a callback that can provide templates.
|
||||
Version 4.3.2 (2015-12-14)
|
||||
Fixed bug where the resize bars for table cells were not affected by the object_resizing property.
|
||||
Fixed bug where the contextual table toolbar would appear incorrectly if TinyMCE was initialized inline inside a table.
|
||||
Fixed bug where resizing table cells did not fire a node change event or add an undo level.
|
||||
Fixed bug where double click selection of text on IE 11 wouldn't work properly.
|
||||
Fixed bug where codesample plugin would incorrectly produce br elements inside code elements.
|
||||
Fixed bug where media plugin would strip dashes from youtube urls.
|
||||
Fixed bug where it was possible to move the caret into the table resize bars.
|
||||
Fixed bug where drag/drop into a cE=false element was possible on IE.
|
||||
Version 4.3.1 (2015-11-30)
|
||||
Fixed so it's possible to disable the table inline toolbar by setting it to false or an empty string.
|
||||
Fixed bug where it wasn't possible to resize some tables using the drag handles.
|
||||
Fixed bug where unique id:s would clash for multiple editor instances and cE=false selections.
|
||||
Fixed bug where the same plugin could be initialized multiple times.
|
||||
Fixed bug where the table inline toolbars would be displayed at the same time as the image toolbars.
|
||||
Fixed bug where the table selection rect wouldn't be removed when selecting another control element.
|
||||
Version 4.3.0 (2015-11-23)
|
||||
Added new table column/row resize support. Makes it a lot more easy to resize the columns/rows in a table.
|
||||
Added new table inline toolbar. Makes it easier to for example add new rows or columns to a table.
|
||||
Added new notification API. Lets you display floating notifications to the end user.
|
||||
Added new codesample plugin that lets you insert syntax highlighted pre elements into the editor.
|
||||
Added new image_caption to images. Lets you create images with captions using a HTML5 figure/figcaption elements.
|
||||
Added new live previews of embeded videos. Lets you play the video right inside the editor.
|
||||
Added new setDirty method and "dirty" event to the editor. Makes it easier to track the dirty state change.
|
||||
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.
|
||||
Rewrote the noneditable plugin to use the new contentEditable false core logic.
|
||||
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 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 images within contentEditable=false would be selected in WebKit on mouse click.
|
||||
Fixed bug in DOMUntils split method where the replacement parameter wouldn't work on specific cases.
|
||||
Fixed bug where the importcss plugin would import classes from the skin content css file.
|
||||
Fixed so all button variants have a wrapping span for it's text to make it easier to skin.
|
||||
Fixed so it's easier to exit pre block using the arrow keys.
|
||||
Fixed bug where listboxes with fix widths didn't render correctly.
|
||||
Version 4.2.8 (2015-11-13)
|
||||
Fixed bug where it was possible to delete tables as the inline root element if all columns where selected.
|
||||
Fixed bug where the UI buttons active state wasn't properly updated due to recent refactoring of that logic.
|
||||
Version 4.2.7 (2015-10-27)
|
||||
Fixed bug where backspace/delete would remove all formats on the last paragraph character in WebKit/Blink.
|
||||
Fixed bug where backspace within a inline format element with a bogus caret container would move the caret.
|
||||
Fixed bug where backspace/delete on selected table cells wouldn't add an undo level.
|
||||
Fixed bug where script tags embedded within the editor could sometimes get a mce- prefix prepended to them
|
||||
Fixed bug where validate: false option could produce an error to be thrown from the Serialization step.
|
||||
Fixed bug where inline editing of a table as the root element could let the user delete that table.
|
||||
Fixed bug where inline editing of a table as the root element wouldn't properly handle enter key.
|
||||
Fixed bug where inline editing of a table as the root element would normalize the selection incorrectly.
|
||||
Fixed bug where inline editing of a list as the root element could let the user delete that list.
|
||||
Fixed bug where inline editing of a list as the root element could let the user split that list.
|
||||
Fixed bug where resize handles would be rendered on editable root elements such as table.
|
||||
Version 4.2.6 (2015-09-28)
|
||||
Added capability to set request headers when using XHRs.
|
||||
Added capability to upload local images automatically default delay is set to 30 seconds after editing images.
|
||||
Added commands ids mceEditImage, mceAchor and mceMedia to be avaiable from execCommand.
|
||||
Added Edge browser to saucelabs grunt task. Patch contributed by John-David Dalton.
|
||||
Fixed bug where blob uris not produced by tinymce would produce HTML invalid markup.
|
||||
Fixed bug where selection of contents of a nearly empty editor in Edge would sometimes fail.
|
||||
Fixed bug where color styles woudln't be retained on copy/paste in Blink/Webkit.
|
||||
Fixed bug where the table plugin would throw an error when inserting rows after a child table.
|
||||
Fixed bug where the template plugin wouldn't handle functions as variable replacements.
|
||||
Fixed bug where undo/redo sometimes wouldn't work properly when applying formatting collapsed ranges.
|
||||
Fixed bug where shift+delete wouldn't do a cut operation on Blink/WebKit.
|
||||
Fixed bug where cut action wouldn't properly store the before selection bookmark for the undo level.
|
||||
Fixed bug where backspace in side an empty list element on IE would loose editor focus.
|
||||
Fixed bug where the save plugin wouldn't enable the buttons when a change occurred.
|
||||
Fixed bug where Edge wouldn't initialize the editor if a document.domain was specified.
|
||||
Fixed bug where enter key before nested images would sometimes not properly expand the previous block.
|
||||
Fixed bug where the inline toolbars wouldn't get properly hidden when blurring the editor instance.
|
||||
Fixed bug where Edge would paste Chinese characters on some Windows 10 installations.
|
||||
Fixed bug where IME would loose focus on IE 11 due to the double trailing br bug fix.
|
||||
Fixed bug where the proxy url in imagetools was incorrect. Patch contributed by Wong Ho Wang.
|
||||
Version 4.2.5 (2015-08-31)
|
||||
Added fullscreen capability to embedded youtube and vimeo videos.
|
||||
Fixed bug where the uploadImages call didn't work on IE 10.
|
||||
Fixed bug where image place holders would be uploaded by uploadImages call.
|
||||
Fixed bug where images marked with bogus would be uploaded by the uploadImages call.
|
||||
Fixed bug where multiple calls to uploadImages would result in decreased performance.
|
||||
Fixed bug where pagebreaks were editable to imagetools patch contributed by Rasmus Wallin.
|
||||
Fixed bug where the element path could cause too much recursion exception.
|
||||
Fixed bug for domains containing ".min". Patch contributed by Loïc Février.
|
||||
Fixed so validation of external links to accept a number after www. Patch contributed by Victor Carvalho.
|
||||
Fixed so the charmap is exposed though execCommand. Patch contributed by Matthew Will.
|
||||
Fixed so that the image uploads are concurrent for improved performance.
|
||||
Fixed various grammar problems in inline documentation. Patches provided by nikolas.
|
||||
Version 4.2.4 (2015-08-17)
|
||||
Added picture as a valid element to the HTML 5 schema. Patch contributed by Adam Taylor.
|
||||
Fixed bug where contents would be duplicated on drag/drop within the same editor.
|
||||
Fixed bug where floating/alignment of images on Edge wouldn't work properly.
|
||||
Fixed bug where it wasn't possible to drag images on IE 11.
|
||||
Fixed bug where image selection on Edge would sometimes fail.
|
||||
Fixed bug where contextual toolbars icons wasn't rendered properly when using the toolbar_items_size.
|
||||
Fixed bug where searchreplace dialog doesn't get prefilled with the selected text.
|
||||
Fixed bug where fragmented matches wouldn't get properly replaced by the searchreplace plugin.
|
||||
Fixed bug where enter key wouldn't place the caret if was after a trailing space within an inline element.
|
||||
Fixed bug where the autolink plugin could produce multiple links for the same text on Gecko.
|
||||
Fixed bug where EditorUpload could sometimes throw an exception if the blob wasn't found.
|
||||
Fixed xss issues with media plugin not properly filtering out some script attributes.
|
||||
Version 4.2.3 (2015-07-30)
|
||||
Fixed bug where image selection wasn't possible on Edge due to incompatible setBaseAndExtend API.
|
||||
Fixed bug where image blobs urls where not properly destroyed by the imagetools plugin.
|
||||
Fixed bug where keyboard shortcuts wasn't working correctly on IE 8.
|
||||
Fixed skin issue where the borders of panels where not visible on IE 8.
|
||||
Version 4.2.2 (2015-07-22)
|
||||
Fixed bug where float panels were not being hidden on inline editor blur when fixed_toolbar_container config option was in use.
|
||||
Fixed bug where combobox states wasn't properly updated if contents where updated without keyboard.
|
||||
Fixed bug where pasting into textbox or combobox would move the caret to the end of text.
|
||||
Fixed bug where removal of bogus span elements before block elements would remove whitespace between nodes.
|
||||
Fixed bug where repositioning of inline toolbars where async and producing errors if the editor was removed from DOM to early. Patch by iseulde.
|
||||
Fixed bug where element path wasn't working correctly. Patch contributed by iseulde.
|
||||
Fixed bug where menus wasn't rendered correctly when custom images where added to a menu. Patch contributed by Naim Hammadi.
|
||||
Version 4.2.1 (2015-06-29)
|
||||
Fixed bug where back/forward buttons in the browser would render blob images as broken images.
|
||||
Fixed bug where Firefox would throw regexp to big error when replacing huge base64 chunks.
|
||||
Fixed bug rendering issues with resize and context toolbars not being placed properly until next animation frame.
|
||||
Fixed bug where the rendering of the image while cropping would some times not be centered correctly.
|
||||
Fixed bug where listbox items with submenus would me selected as active.
|
||||
Fixed bug where context menu where throwing an error when rendering.
|
||||
Fixed bug where resize both option wasn't working due to resent addClass API change. Patch contributed by Jogai.
|
||||
Fixed bug where a hideAll call for container rendered inline toolbars would throw an error.
|
||||
Fixed bug where onclick event handler on combobox could cause issues if element.id was a function by some polluting libraries.
|
||||
Fixed bug where listboxes wouldn't get proper selected sub menu item when using link_list or image_list.
|
||||
Fixed so the UI controls are as wide as 4.1.x to avoid wrapping controls in toolbars.
|
||||
Fixed so the imagetools dialog is adaptive for smaller screen sizes.
|
||||
Version 4.2.0 (2015-06-25)
|
||||
Added new flat default skin to make the UI more modern.
|
||||
Added new imagetools plugin, lets you crop/resize and apply filters to images.
|
||||
Added new contextual toolbars support to the API lets you add floating toolbars for specific CSS selectors.
|
||||
Added new promise feature fill as tinymce.util.Promise.
|
||||
Added new built in image upload feature lets you upload any base64 encoded image within the editor as files.
|
||||
Fixed bug where resize handles would appear in the right position in the wrong editor when switching between resizable content in different inline editors.
|
||||
Fixed bug where tables would not be inserted in inline mode due to previous float panel fix.
|
||||
Fixed bug where floating panels would remain open when focus was lost on inline editors.
|
||||
Fixed bug where cut command on Chrome would thrown a browser security exception.
|
||||
Fixed bug where IE 11 sometimes would report an incorrect size for images in the image dialog.
|
||||
Fixed bug where it wasn't possible to remove inline formatting at the end of block elements.
|
||||
Fixed bug where it wasn't possible to delete table cell contents when cell selection was vertical.
|
||||
Fixed bug where table cell wasn't emptied from block elements if delete/backspace where pressed in empty cell.
|
||||
Fixed bug where cmd+shift+arrow didn't work correctly on Firefox mac when selecting to start/end of line.
|
||||
Fixed bug where removal of bogus elements would sometimes remove whitespace between nodes.
|
||||
Fixed bug where the resize handles wasn't updated when the main window was resized.
|
||||
Fixed so script elements gets removed by default to prevent possible XSS issues in default config implementations.
|
||||
Fixed so the UI doesn't need manual reflows when using non native layout managers.
|
||||
Fixed so base64 encoded images doesn't slow down the editor on modern browsers while editing.
|
||||
Fixed so all UI elements uses touch events to improve mobile device support.
|
||||
Removed the touch click quirks patch for iOS since it did more harm than good.
|
||||
Removed the non proportional resize handles since. Unproportional resize can still be done by holding the shift key.
|
||||
Version 4.1.10 (2015-05-05)
|
||||
Fixed bug where plugins loaded with compat3x would sometimes throw errors when loading using the jQuery version.
|
||||
Fixed bug where extra empty paragraphs would get deleted in WebKit/Blink due to recent Quriks fix.
|
||||
Fixed bug where the editor wouldn't work properly on IE 12 due to some required browser sniffing.
|
||||
Fixed bug where formatting shortcut keys where interfering with Mac OS X screenshot keys.
|
||||
Fixed bug where the caret wouldn't move to the next/previous line boundary on Cmd+Left/Right on Gecko.
|
||||
Fixed bug where it wasn't possible to remove formats from very specific nested contents.
|
||||
Fixed bug where undo levels wasn't produced when typing letters using the shift or alt+ctrl modifiers.
|
||||
Fixed bug where the dirty state wasn't properly updated when typing using the shift or alt+ctrl modifiers.
|
||||
Fixed bug where an error would be thrown if an autofocused editor was destroyed quickly after its initialization. Patch provided by thorn0.
|
||||
Fixed issue with dirty state not being properly updated on redo operation.
|
||||
Fixed issue with entity decoder not handling incorrectly written numeric entities.
|
||||
Fixed issue where some PI element values wouldn't be properly encoded.
|
||||
Version 4.1.9 (2015-03-10)
|
||||
Fixed bug where indentation wouldn't work properly for non list elements.
|
||||
Fixed bug with image plugin not pulling the image dimensions out correctly if a custom document_base_url was used.
|
||||
Fixed bug where ctrl+alt+[1-9] would conflict with the AltGr+[1-9] on Windows. New shortcuts is ctrl+shift+[1-9].
|
||||
Fixed bug with removing formatting on nodes in inline mode would sometimes include nodes outside the editor body.
|
||||
Fixed bug where extra nbsp:s would be inserted when you replaced a word surrounded by spaces using insertContent.
|
||||
Fixed bug with pasting from Google Docs would produce extra strong elements and line feeds.
|
||||
Version 4.1.8 (2015-03-05)
|
||||
Added new html5 sizes attribute to img elements used together with srcset.
|
||||
Added new elementpath option that makes it possible to disable the element path but keep the statusbar.
|
||||
Added new option table_style_by_css for the table plugin to set table styling with css rather than table attributes.
|
||||
Added new link_assume_external_targets option to prompt the user to prepend http:// prefix if the supplied link does not contain a protocol prefix.
|
||||
Added new image_prepend_url option to allow a custom base path/url to be added to images.
|
||||
Added new table_appearance_options option to make it possible to disable some options.
|
||||
Added new image_title option to make it possible to alter the title of the image, disabled by default.
|
||||
Fixed bug where selection starting from out side of the body wouldn't produce a proper selection range on IE 11.
|
||||
Fixed bug where pressing enter twice before a table moves the cursor in the table and causes a javascript error.
|
||||
Fixed bug where advanced image styles were not respected.
|
||||
Fixed bug where the less common Shift+Delete didn't produce a proper cut operation on WebKit browsers.
|
||||
Fixed bug where image/media size constrain logic would produce NaN when handling non number values.
|
||||
Fixed bug where internal classes where removed by the removeformat command.
|
||||
Fixed bug with creating links table cell contents with a specific selection would throw a exceptions on WebKit/Blink.
|
||||
Fixed bug where valid_classes option didn't work as expected according to docs. Patch provided by thorn0.
|
||||
Fixed bug where jQuery plugin would patch the internal methods multiple times. Patch provided by Drew Martin.
|
||||
Fixed bug where backspace key wouldn't delete the current selection of newly formatted content.
|
||||
Fixed bug where type over of inline formatting elements wouldn't properly keep the format on WebKit/Blink.
|
||||
Fixed bug where selection needed to be properly normalized on modern IE versions.
|
||||
Fixed bug where Command+Backspace didn't properly delete the whole line of text but the previous word.
|
||||
Fixed bug where UI active states wheren't properly updated on IE if you placed caret within the current range.
|
||||
Fixed bug where delete/backspace on WebKit/Blink would remove span elements created by the user.
|
||||
Fixed bug where delete/backspace would produce incorrect results when deleting between two text blocks with br elements.
|
||||
Fixed bug where captions where removed when pasting from MS Office.
|
||||
Fixed bug where lists plugin wouldn't properly remove fully selected nested lists.
|
||||
Fixed bug where the ttf font used for icons would throw an warning message on Gecko on Mac OS X.
|
||||
Fixed a bug where applying a color to text did not update the undo/redo history.
|
||||
Fixed so shy entities gets displayed when using the visualchars plugin.
|
||||
Fixed so removeformat removes ins/del by default since these might be used for strikethough.
|
||||
Fixed so multiple language packs can be loaded and added to the global I18n data structure.
|
||||
Fixed so transparent color selection gets treated as a normal color selection. Patch contributed by Alexander Hofbauer.
|
||||
Fixed so it's possible to disable autoresize_overflow_padding, autoresize_bottom_margin options by setting them to false.
|
||||
Fixed so the charmap plugin shows the description of the character in the dialog. Patch contributed by Jelle Hissink.
|
||||
Removed address from the default list of block formats since it tends to be missused.
|
||||
Fixed so the pre block format is called preformatted to make it more verbose.
|
||||
Fixed so it's possible to context scope translation strings this isn't needed most of the time.
|
||||
Fixed so the max length of the width/height input fields of the media dialog is 5 instead of 3.
|
||||
Fixed so drag/dropped contents gets properly processed by paste plugin since it's basically a paste. Patch contributed by Greg Fairbanks.
|
||||
Fixed so shortcut keys for headers is ctrl+alt+[1-9] instead of ctrl+[1-9] since these are for switching tabs in the browsers.
|
||||
Fixed so "u" doesn't get converted into a span element by the legacy input filter. Since this is now a valid HTML5 element.
|
||||
Fixed font families in order to provide appropriate web-safe fonts.
|
||||
Version 4.1.7 (2014-11-27)
|
||||
Added HTML5 schema support for srcset, source and picture. Patch contributed by mattheu.
|
||||
Added new cache_suffix setting to enable cache busting by producing unique urls.
|
||||
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 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 aggressive css compression.
|
||||
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 image plugin wouldn't respect the document_base_url.
|
||||
Fixed bug where the jQuery plugin would fail to append to elements named array prototype names.
|
||||
Version 4.1.6 (2014-10-08)
|
||||
Fixed bug with clicking on the scrollbar of the iframe would cause a JS error to be thrown.
|
||||
Fixed bug where null would produce an exception if you passed it to selection.setRng.
|
||||
Fixed bug where Ctrl/Cmd+Tab would indent the current list item if you switched tabs in the browser.
|
||||
Fixed bug where pasting empty cells from Excel would result in a broken table.
|
||||
Fixed bug where it wasn't possible to switch back to default list style type.
|
||||
Fixed issue where the select all quirk fix would fire for other modifiers than Ctrl/Cmd combinations.
|
||||
Replaced jake with grunt since it is more mainstream and has better plugin support.
|
||||
Version 4.1.5 (2014-09-09)
|
||||
Fixed bug where sometimes the resize rectangles wouldn't properly render on images on WebKit/Blink.
|
||||
Fixed bug in list plugin where delete/backspace would merge empty LI elements in lists incorrectly.
|
||||
Fixed bug where empty list elements would result in empty LI elements without it's parent container.
|
||||
Fixed bug where backspace in empty caret formatted element could produce an type error exception of Gecko.
|
||||
Fixed bug where lists pasted from word with a custom start index above 9 wouldn't be properly handled.
|
||||
Fixed bug where tabfocus plugin would tab out of the editor instance even if the default action was prevented.
|
||||
Fixed bug where tabfocus wouldn't tab properly to other adjacent editor instances.
|
||||
Fixed bug where the DOMUtils setStyles wouldn't properly removed or update the data-mce-style attribute.
|
||||
Fixed bug where dialog select boxes would be placed incorrectly if document.body wasn't statically positioned.
|
||||
Fixed bug where pasting would sometimes scroll to the top of page if the user was using the autoresize plugin.
|
||||
Fixed bug where caret wouldn't be properly rendered by Chrome when clicking on the iframes documentElement.
|
||||
Fixed so custom images for menubutton/splitbutton can be provided. Patch contributed by Naim Hammadi.
|
||||
Fixed so the default action of windows closing can be prevented by blocking the default action of the close event.
|
||||
Fixed so nodeChange and focus of the editor isn't automatically performed when opening sub dialogs.
|
||||
Version 4.1.4 (2014-08-21)
|
||||
Added new media_filter_html option to media plugin that blocks any conditional comments, scripts etc within a video element.
|
||||
Added new content_security_policy option allows you to set custom policy for iframe contents. Patch contributed by Francois Chagnon.
|
||||
Fixed bug where activate/deactivate events wasn't firing properly when switching between editors.
|
||||
Fixed bug where placing the caret on iOS was difficult due to a WebKit bug with touch events.
|
||||
Fixed bug where the resize helper wouldn't render properly on older IE versions.
|
||||
Fixed bug where resizing images inside tables on older IE versions would sometimes fail depending mouse position.
|
||||
Fixed bug where editor.insertContent would produce an exception when inserting select/option elements.
|
||||
Fixed bug where extra empty paragraphs would be produced if block elements where inserted inside span elements.
|
||||
Fixed bug where the spellchecker menu item wouldn't be properly checked if spell checking was started before it was rendered.
|
||||
Fixed bug where the DomQuery filter function wouldn't remove non elements from collection.
|
||||
Fixed bug where document with custom document.domain wouldn't properly render the editor.
|
||||
Fixed bug where IE 8 would throw exception when trying to enter invalid color values into colorboxes.
|
||||
Fixed bug where undo manager could incorrectly add an extra undo level when custom resize handles was removed.
|
||||
Fixed bug where it wouldn't be possible to alter cell properties properly on table cells on IE 8.
|
||||
Fixed so the color picker button in table dialog isn't shown unless you include the colorpicker plugin or add your own custom color picker.
|
||||
Fixed so activate/deactivate events fire when windowManager opens a window since.
|
||||
Fixed so the table advtab options isn't separated by an underscore to normalize naming with image_advtab option.
|
||||
Fixed so the table cell dialog has proper padding when the advanced tab in disabled.
|
||||
Version 4.1.3 (2014-07-29)
|
||||
Added event binding logic to tinymce.util.XHR making it possible to override headers and settings before any request is made.
|
||||
Fixed bug where drag events wasn't fireing properly on older IE versions since the event handlers where bound to document.
|
||||
Fixed bug where drag/dropping contents within the editor on IE would force the contents into plain text mode even if it was internal content.
|
||||
Fixed bug where IE 7 wouldn't open menus properly due to a resize bug in the browser auto closing them immediately.
|
||||
Fixed bug where the DOMUtils getPos logic wouldn't produce a valid coordinate inside the body if the body was positioned non static.
|
||||
Fixed bug where the element path and format state wasn't properly updated if you had the wordcount plugin enabled.
|
||||
Fixed bug where a comment at the beginning of source would produce an exception in the formatter logic.
|
||||
Fixed bug where setAttrib/getAttrib on null would throw exception together with any hooked attributes like style.
|
||||
Fixed bug where table sizes wasn't properly retained when copy/pasting on WebKit/Blink.
|
||||
Fixed bug where WebKit/Blink would produce colors in RGB format instead of the forced HEX format when deleting contents.
|
||||
Fixed bug where the width attribute wasn't updated on tables if you changed the size inside the table dialog.
|
||||
Fixed bug where control selection wasn't properly handled when the caret was placed directly after an image.
|
||||
Fixed bug where selecting the contents of table cells using the selection.select method wouldn't place the caret properly.
|
||||
Fixed bug where the selection state for images wasn't removed when placing the caret right after an image on WebKit/Blink.
|
||||
Fixed bug where all events wasn't properly unbound when and editor instance was removed or destroyed by some external innerHTML call.
|
||||
Fixed bug where it wasn't possible or very hard to select images on iOS when the onscreen keyboard was visible.
|
||||
Fixed so auto_focus can take a boolean argument this will auto focus the last initialized editor might be useful for single inits.
|
||||
Fixed so word auto detect lists logic works better for faked lists that doesn't have specific markup.
|
||||
Fixed so nodeChange gets fired on mouseup as it used to before 4.1.1 we optimized that event to fire less often.
|
||||
Removed the finish menu item from spellchecker menu since it's redundant you can stop spellchecking by toggling menu item or button.
|
||||
Version 4.1.2 (2014-07-15)
|
||||
Added offset/grep to DomQuery class works basically the same as it's jQuery equivalent.
|
||||
Fixed bug where backspace/delete or setContent with an empty string would remove header data when using the fullpage plugin.
|
||||
Fixed bug where tinymce.remove with a selector not matching any editors would remove all editors.
|
||||
Fixed bug where resizing of the editor didn't work since the theme was calling setStyles instead of setStyle.
|
||||
Fixed bug where IE 7 would fail to append html fragments to iframe document when using DomQuery.
|
||||
Fixed bug where the getStyle DOMUtils method would produce an exception if it was called with null as it's element.
|
||||
Fixed bug where the paste plugin would remove the element if the none of the paste_webkit_styles rules matched the current style.
|
||||
Fixed bug where contextmenu table items wouldn't work properly on IE since it would some times fire an incorrect selection change.
|
||||
Fixed bug where the padding/border values wasn't used in the size calculation for the body size when using autoresize. Patch contributed by Matt Whelan.
|
||||
Fixed bug where conditional word comments wouldn't be properly removed when pasting plain text.
|
||||
Fixed bug where resizing would sometime fail on IE 11 when the mouseup occurred inside the resizable element.
|
||||
Fixed so the iframe gets initialized without any inline event handlers for better CSP support. Patch contributed by Matt Whelan.
|
||||
Fixed so the tinymce.dom.Sizzle is the latest version of sizzle this resolves the document context bug.
|
||||
Version 4.1.1 (2014-07-08)
|
||||
Fixed bug where pasting plain text on some WebKit versions would result in an empty line.
|
||||
Fixed bug where resizing images inside tables on IE 11 wouldn't work properly.
|
||||
Fixed bug where IE 11 would sometimes throw "Invalid argument" exception when editor contents was set to an empty string.
|
||||
Fixed bug where document.activeElement would throw exceptions on IE 9 when that element was hidden or removed from dom.
|
||||
Fixed bug where WebKit/Blink sometimes produced br elements with the Apple-interchange-newline class.
|
||||
Fixed bug where table cell selection wasn't properly removed when copy/pasting table cells.
|
||||
Fixed bug where pasting nested list items from Word wouldn't produce proper semantic nested lists.
|
||||
Fixed bug where right clicking using the contextmenu plugin on WebKit/Blink on Mac OS X would select the target current word or line.
|
||||
Fixed bug where it wasn't possible to alter table cell properties on IE 8 using the context menu.
|
||||
Fixed bug where the resize helper wouldn't be correctly positioned on older IE versions.
|
||||
Fixed bug where fullpage plugin would produce an error if you didn't specify a doctype encoding.
|
||||
Fixed bug where anchor plugin would get the name/id of the current element even if it wasn't anchor element.
|
||||
Fixed bug where visual aids for tables wouldn't be properly disabled when changing the border size.
|
||||
Fixed bug where some control selection events wasn't properly fired on older IE versions.
|
||||
Fixed bug where table cell selection on older IE versions would prevent resizing of images.
|
||||
Fixed bug with paste_data_images paste option not working properly on modern IE versions.
|
||||
Fixed bug where custom elements with underscores in the name wasn't properly parsed/serialized.
|
||||
Fixed bug where applying inline formats to nested list elements would produce an incorrect formatting result.
|
||||
Fixed so it's possible to hide items from elements path by using preventDefault/stopPropagation.
|
||||
Fixed so inline mode toolbar gets rendered right aligned if the editable element positioned to the documents right edge.
|
||||
Fixed so empty inline elements inside empty block elements doesn't get removed if configured to be kept intact.
|
||||
Fixed so DomQuery parentsUntil/prevUntil/nextUntil supports selectors/elements/filters etc.
|
||||
Fixed so legacyoutput plugin overrides fontselect and fontsizeselect controls and handles font elements properly.
|
||||
Version 4.1.0 (2014-06-18)
|
||||
Added new file_picker_callback option to replace the old file_browser_callback the latter will still work though.
|
||||
Added new custom colors to textcolor plugin will be displayed if a color picker is provided also shows the latest colors.
|
||||
Added new color_picker_callback option to enable you to add custom color pickers to the editor.
|
||||
Added new advanced tabs to table/cell/row dialogs to enable you to select colors for border/background.
|
||||
Added new colorpicker plugin that lets you select colors from a hsv color picker.
|
||||
Added new tinymce.util.Color class to handle color parsing and converting.
|
||||
Added new colorpicker UI widget element lets you add a hsv color picker to any form/window.
|
||||
Added new textpattern plugin that allows you to use markdown like text patterns to format contents.
|
||||
Added new resize helper element that shows the current width & height while resizing.
|
||||
Added new "once" method to Editor and EventDispatcher enables since callback execution events.
|
||||
Added new jQuery like class under tinymce.dom.DomQuery it's exposed on editor instances (editor.$) and globally under (tinymce.$).
|
||||
Fixed so the default resize method for images are proportional shift/ctrl can be used to make an unproportional size.
|
||||
Fixed bug where the image_dimensions option of the image plugin would cause exceptions when it tried to update the size.
|
||||
Fixed bug where table cell dialog class field wasn't properly updated when editing an a table cell with an existing class.
|
||||
Fixed bug where Safari on Mac would produce webkit-fake-url for pasted images so these are now removed.
|
||||
Fixed bug where the nodeChange event would get fired before the selection was changed when clicking inside the current selection range.
|
||||
Fixed bug where valid_classes option would cause exception when it removed internal prefixed classes like mce-item-.
|
||||
Fixed bug where backspace would cause navigation in IE 8 on an inline element and after a caret formatting was applied.
|
||||
Fixed so placeholder images produced by the media plugin gets selected when inserted/edited.
|
||||
Fixed so it's possible to drag in images when the paste_data_images option is enabled. Might be useful for mail clients.
|
||||
Fixed so images doesn't get a width/height applied if the image_dimensions option is set to false useful for responsive contents.
|
||||
Fixed so it's possible to pass in an optional arguments object for the nodeChanged function to be passed to all nodechange event listeners.
|
||||
Fixed bug where media plugin embed code didn't update correctly.
|
||||
1
assets/libs/tinymce/jquery.tinymce.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!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)}}}();
|
||||
504
assets/libs/tinymce/license.txt
Normal file
@@ -0,0 +1,504 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
7
assets/libs/tinymce/plugins/advlist/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "advlist" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/advlist')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/advlist'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/advlist/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),s=function(t,e,n){var r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===n?null:{"list-style-type":n})},o=function(n){n.addCommand("ApplyUnorderedListStyle",function(t,e){s(n,"UL",e["list-style-type"])}),n.addCommand("ApplyOrderedListStyle",function(t,e){s(n,"OL",e["list-style-type"])})},e=function(t){var e=t.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");return e?e.split(/[ ,]/):[]},n=function(t){var e=t.getParam("advlist_bullet_styles","default,circle,disc,square");return e?e.split(/[ ,]/):[]},u=function(t){return t&&/^(TH|TD)$/.test(t.nodeName)},c=function(r){return function(t){return t&&/^(OL|UL|DL)$/.test(t.nodeName)&&(n=t,(e=r).$.contains(e.getBody(),n));var e,n}},d=function(t){var e=t.dom.getParent(t.selection.getNode(),"ol,ul");return t.dom.getStyle(e,"listStyleType")||""},p=function(t){return a.map(t,function(t){return{text:t.replace(/\-/g," ").replace(/\b\w/g,function(t){return t.toUpperCase()}),data:"default"===t?"":t}})},f=function(i,l){return function(t){var o=t.control;i.on("NodeChange",function(t){var e=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n;return-1}(t.parents,u),n=-1!==e?t.parents.slice(0,e):t.parents,r=a.grep(n,c(i));o.active(0<r.length&&r[0].nodeName===l)})}},m=function(e,t,n,r,o,i){var l;e.addButton(t,{active:!1,type:"splitbutton",tooltip:n,menu:p(i),onPostRender:f(e,o),onshow:(l=e,function(t){var e=d(l);t.control.items().each(function(t){t.active(t.settings.data===e)})}),onselect:function(t){s(e,o,t.control.settings.data)},onclick:function(){e.execCommand(r)}})},r=function(t,e,n,r,o,i){var l,a,s,u,c;0<i.length?m(t,e,n,r,o,i):(a=e,s=n,u=r,c=o,(l=t).addButton(a,{active:!1,type:"button",tooltip:s,onPostRender:f(l,c),onclick:function(){l.execCommand(u)}}))},i=function(t){r(t,"numlist","Numbered list","InsertOrderedList","OL",e(t)),r(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))};t.add("advlist",function(t){var e,n,r;n="lists",r=(e=t).settings.plugins?e.settings.plugins:"",-1!==a.inArray(r.split(/[ ,]/),n)&&(i(t),o(t))})}();
|
||||
7
assets/libs/tinymce/plugins/anchor/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "anchor" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/anchor')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/anchor'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/anchor/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(t){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)},e=function(t){var e=t.selection.getNode();return"A"===e.tagName&&""===t.dom.getAttrib(e,"href")?e.id||e.name:""},i=function(t,e){var n=t.selection.getNode();"A"===n.tagName&&""===t.dom.getAttrib(n,"href")?(n.removeAttribute("name"),n.id=e):(t.focus(),t.selection.collapse(!0),t.execCommand("mceInsertContent",!1,t.dom.createHTML("a",{id:e})))},n=function(r){var t=e(r);r.windowManager.open({title:"Anchor",body:{type:"textbox",name:"id",size:40,label:"Id",value:t},onsubmit:function(t){var e,n,o=t.data.id;e=r,(a(n=o)?(i(e,n),0):(e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),1))&&t.preventDefault()}})},o=function(t){t.addCommand("mceAnchor",function(){n(t)})},r=function(o){return function(t){for(var e=0;e<t.length;e++)(n=t[e]).attr("href")||!n.attr("id")&&!n.attr("name")||n.firstChild||t[e].attr("contenteditable",o);var n}},c=function(t){t.on("PreInit",function(){t.parser.addNodeFilter("a",r("false")),t.serializer.addNodeFilter("a",r(null))})},d=function(t){t.addButton("anchor",{icon:"anchor",tooltip:"Anchor",cmd:"mceAnchor",stateSelector:"a:not([href])"}),t.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",cmd:"mceAnchor"})};t.add("anchor",function(t){c(t),o(t),d(t)})}();
|
||||
7
assets/libs/tinymce/plugins/autolink/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "autolink" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/autolink')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/autolink'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/autolink/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=tinymce.util.Tools.resolve("tinymce.Env"),m=function(e){return e.getParam("autolink_pattern",/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i)},y=function(e){return e.getParam("default_link_target","")},o=function(e,t){if(t<0&&(t=0),3===e.nodeType){var n=e.data.length;n<t&&(t=n)}return t},k=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setStart(t,o(t,n)):e.setStartBefore(t)},p=function(e,t,n){1!==t.nodeType||t.hasChildNodes()?e.setEnd(t,o(t,n)):e.setEndAfter(t)},r=function(e,t,n){var i,o,r,a,f,s,d,l,c,u,g=m(e),h=y(e);if("A"!==e.selection.getNode().tagName){if((i=e.selection.getRng(!0).cloneRange()).startOffset<5){if(!(l=i.endContainer.previousSibling)){if(!i.endContainer.firstChild||!i.endContainer.firstChild.nextSibling)return;l=i.endContainer.firstChild.nextSibling}if(c=l.length,k(i,l,c),p(i,l,c),i.endOffset<5)return;o=i.endOffset,a=l}else{if(3!==(a=i.endContainer).nodeType&&a.firstChild){for(;3!==a.nodeType&&a.firstChild;)a=a.firstChild;3===a.nodeType&&(k(i,a,0),p(i,a,a.nodeValue.length))}o=1===i.endOffset?2:i.endOffset-1-t}for(r=o;k(i,a,2<=o?o-2:0),p(i,a,1<=o?o-1:0),o-=1," "!==(u=i.toString())&&""!==u&&160!==u.charCodeAt(0)&&0<=o-2&&u!==n;);var C;(C=i.toString())===n||" "===C||160===C.charCodeAt(0)?(k(i,a,o),p(i,a,r),o+=1):(0===i.startOffset?k(i,a,0):k(i,a,o),p(i,a,r)),"."===(s=i.toString()).charAt(s.length-1)&&p(i,a,r-1),(d=(s=i.toString().trim()).match(g))&&("www."===d[1]?d[1]="http://www.":/@$/.test(d[1])&&!/^mailto:/.test(d[1])&&(d[1]="mailto:"+d[1]),f=e.selection.getBookmark(),e.selection.setRng(i),e.execCommand("createlink",!1,d[1]+d[2]),h&&e.dom.setAttrib(e.selection.getNode(),"target",h),e.selection.moveToBookmark(f),e.nodeChanged())}},t=function(t){var n;t.on("keydown",function(e){13!==e.keyCode||r(t,-1,"")}),i.ie?t.on("focus",function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(t.on("keypress",function(e){41!==e.keyCode||r(t,-1,"(")}),t.on("keyup",function(e){32!==e.keyCode||r(t,0,"")}))};e.add("autolink",function(e){t(e)})}();
|
||||
7
assets/libs/tinymce/plugins/autoresize/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "autoresize" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/autoresize')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/autoresize'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/autoresize/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var i=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return i(n())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),y=tinymce.util.Tools.resolve("tinymce.Env"),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),h=function(t){return parseInt(t.getParam("autoresize_min_height",t.getElement().offsetHeight),10)},v=function(t){return parseInt(t.getParam("autoresize_max_height",0),10)},o=function(t){return t.getParam("autoresize_overflow_padding",1)},a=function(t){return t.getParam("autoresize_bottom_margin",50)},n=function(t){return t.getParam("autoresize_on_init",!0)},u=function(t,e,n,i,o){r.setEditorTimeout(t,function(){_(t,e),n--?u(t,e,n,i,o):o&&o()},i)},S=function(t,e){var n=t.getBody();n&&(n.style.overflowY=e?"":"hidden",e||(n.scrollTop=0))},_=function(t,e){var n,i,o,r,a,u,s,l,g,c,f,d=t.dom;if(i=t.getDoc())if((m=t).plugins.fullscreen&&m.plugins.fullscreen.isFullscreen())S(t,!0);else{var m;o=i.body,r=h(t),u=d.getStyle(o,"margin-top",!0),s=d.getStyle(o,"margin-bottom",!0),l=d.getStyle(o,"padding-top",!0),g=d.getStyle(o,"padding-bottom",!0),c=d.getStyle(o,"border-top-width",!0),f=d.getStyle(o,"border-bottom-width",!0),a=o.offsetHeight+parseInt(u,10)+parseInt(s,10)+parseInt(l,10)+parseInt(g,10)+parseInt(c,10)+parseInt(f,10),(isNaN(a)||a<=0)&&(a=y.ie?o.scrollHeight:y.webkit&&0===o.clientHeight?0:o.offsetHeight),a>h(t)&&(r=a);var p=v(t);p&&p<a?(r=p,S(t,!0)):S(t,!1),r!==e.get()&&(n=r-e.get(),d.setStyle(t.iframeElement,"height",r+"px"),e.set(r),y.webkit&&n<0&&_(t,e))}},s={setup:function(i,e){i.on("init",function(){var t,e,n=i.dom;t=o(i),e=a(i),!1!==t&&n.setStyles(i.getBody(),{paddingLeft:t,paddingRight:t}),!1!==e&&n.setStyles(i.getBody(),{paddingBottom:e})}),i.on("nodechange setcontent keyup FullscreenStateChanged",function(t){_(i,e)}),n(i)&&i.on("init",function(){u(i,e,20,100,function(){u(i,e,5,1e3)})})},resize:_},l=function(t,e){t.addCommand("mceAutoResize",function(){s.resize(t,e)})};t.add("autoresize",function(t){if(!t.inline){var e=i(0);l(t,e),s.setup(t,e)}})}();
|
||||
7
assets/libs/tinymce/plugins/autosave/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "autosave" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/autosave')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/autosave'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/autosave/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var n=function(t){var e=t,r=function(){return e};return{get:r,set:function(t){e=t},clone:function(){return n(r())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),r=function(t){return t.fire("RestoreDraft")},i=function(t){return t.fire("StoreDraft")},s=function(t){return t.fire("RemoveDraft")},e=function(t,e){return((t=/^(\d+)([ms]?)$/.exec(""+(t||e)))[2]?{s:1e3,m:6e4}[t[2]]:1)*parseInt(t,10)},u=function(t){return t.getParam("autosave_ask_before_unload",!0)},f=function(t){var e=t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-");return e=(e=(e=(e=e.replace(/\{path\}/g,document.location.pathname)).replace(/\{query\}/g,document.location.search)).replace(/\{hash\}/g,document.location.hash)).replace(/\{id\}/g,t.id)},c=function(t){return e(t.settings.autosave_interval,"30s")},l=function(t){return e(t.settings.autosave_retention,"20m")},m=function(t,e){var r=t.settings.forced_root_block;return""===(e=o.trim(void 0===e?t.getBody().innerHTML:e))||new RegExp("^<"+r+"[^>]*>((\xa0| |[ \t]|<br[^>]*>)+?|)</"+r+">|<br>$","i").test(e)},v=function(t){var e=parseInt(a.getItem(f(t)+"time"),10)||0;return!((new Date).getTime()-e>l(t)&&(d(t,!1),1))},d=function(t,e){var r=f(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&s(t)},D=function(t){var e=f(t);!m(t)&&t.isDirty()&&(a.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),a.setItem(e+"time",(new Date).getTime().toString()),i(t))},g=function(t){var e=f(t);v(t)&&(t.setContent(a.getItem(e+"draft"),{format:"raw"}),r(t))},y={isEmpty:m,hasDraft:v,removeDraft:d,storeDraft:D,restoreDraft:g,startStoreDraft:function(t,e){var r=c(t);e.get()||(setInterval(function(){t.removed||D(t)},r),e.set(!0))},restoreLastDraft:function(t){t.undoManager.transact(function(){g(t),d(t)}),t.focus()}},p=function(e,r){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[r].concat(t))}},h=function(t){return{hasDraft:p(y.hasDraft,t),storeDraft:p(y.storeDraft,t),restoreDraft:p(y.restoreDraft,t),removeDraft:p(y.removeDraft,t),isEmpty:p(y.isEmpty,t)}},_=tinymce.util.Tools.resolve("tinymce.EditorManager");_._beforeUnloadHandler=function(){var e;return o.each(_.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e};var b=function(t){window.onbeforeunload=_._beforeUnloadHandler},I=function(r,n){return function(t){var e=t.control;e.disabled(!y.hasDraft(r)),r.on("StoreDraft RestoreDraft RemoveDraft",function(){e.disabled(!y.hasDraft(r))}),y.startStoreDraft(r,n)}},w=function(t,e){t.addButton("restoredraft",{title:"Restore last draft",onclick:function(){y.restoreLastDraft(t)},onPostRender:I(t,e)}),t.addMenuItem("restoredraft",{text:"Restore last draft",onclick:function(){y.restoreLastDraft(t)},onPostRender:I(t,e),context:"file"})};t.add("autosave",function(t){var e=n(!1);return b(t),w(t,e),h(t)})}();
|
||||
7
assets/libs/tinymce/plugins/bbcode/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "bbcode" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/bbcode')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/bbcode'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/bbcode/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(e){e=t.trim(e);var o=function(o,t){e=e.replace(o,t)};return o(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]"),o(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]"),o(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]"),o(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]"),o(/<font>(.*?)<\/font>/gi,"$1"),o(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]"),o(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]"),o(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]"),o(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),o(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),o(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),o(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),o(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),o(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),o(/<\/(strong|b)>/gi,"[/b]"),o(/<(strong|b)>/gi,"[b]"),o(/<\/(em|i)>/gi,"[/i]"),o(/<(em|i)>/gi,"[i]"),o(/<\/u>/gi,"[/u]"),o(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]"),o(/<u>/gi,"[u]"),o(/<blockquote[^>]*>/gi,"[quote]"),o(/<\/blockquote>/gi,"[/quote]"),o(/<br \/>/gi,"\n"),o(/<br\/>/gi,"\n"),o(/<br>/gi,"\n"),o(/<p>/gi,""),o(/<\/p>/gi,"\n"),o(/ |\u00a0/gi," "),o(/"/gi,'"'),o(/</gi,"<"),o(/>/gi,">"),o(/&/gi,"&"),e},i=function(e){e=t.trim(e);var o=function(o,t){e=e.replace(o,t)};return o(/\n/gi,"<br />"),o(/\[b\]/gi,"<strong>"),o(/\[\/b\]/gi,"</strong>"),o(/\[i\]/gi,"<em>"),o(/\[\/i\]/gi,"</em>"),o(/\[u\]/gi,"<u>"),o(/\[\/u\]/gi,"</u>"),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'<a href="$1">$2</a>'),o(/\[url\](.*?)\[\/url\]/gi,'<a href="$1">$1</a>'),o(/\[img\](.*?)\[\/img\]/gi,'<img src="$1" />'),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>'),o(/\[code\](.*?)\[\/code\]/gi,'<span class="codeStyle">$1</span> '),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'<span class="quoteStyle">$1</span> '),e};o.add("bbcode",function(){return{init:function(o){o.on("beforeSetContent",function(o){o.content=i(o.content)}),o.on("postProcess",function(o){o.set&&(o.content=i(o.content)),o.get&&(o.content=e(o.content))})}}})}();
|
||||
7
assets/libs/tinymce/plugins/charmap/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "charmap" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/charmap')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/charmap'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/charmap/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/code/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "code" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/code')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/code'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/code/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),o=function(t){return t.getParam("code_dialog_width",600)},i=function(t){return t.getParam("code_dialog_height",Math.min(n.DOM.getViewPort().h-200,500))},c=function(t,n){t.focus(),t.undoManager.transact(function(){t.setContent(n)}),t.selection.setCursorLocation(),t.nodeChanged()},d=function(t){return t.getContent({source_view:!0})},e=function(n){var t=o(n),e=i(n);n.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:t,minHeight:e,spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(t){c(n,t.data.code)}}).find("#code").value(d(n))},u=function(t){t.addCommand("mceCodeEditor",function(){e(t)})},a=function(t){t.addButton("code",{icon:"code",tooltip:"Source code",onclick:function(){e(t)}}),t.addMenuItem("code",{icon:"code",text:"Source code",onclick:function(){e(t)}})};t.add("code",function(t){return u(t),a(t),{}})}();
|
||||
138
assets/libs/tinymce/plugins/codesample/css/prism.css
Normal file
@@ -0,0 +1,138 @@
|
||||
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: black;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #a67f59;
|
||||
background: hsla(0, 0%, 100%, .5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #DD4A68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
7
assets/libs/tinymce/plugins/codesample/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "codesample" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/codesample')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/codesample'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/codesample/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/colorpicker/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "colorpicker" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/colorpicker')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/colorpicker'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/colorpicker/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Color"),a=function(e,n){e.find("#preview")[0].getEl().style.background=n},o=function(e,n){var i=l(n),t=i.toRgb();e.fromJSON({r:t.r,g:t.g,b:t.b,hex:i.toHex().substr(1)}),a(e,i.toHex())},t=function(e,n,i){var t=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:i,onchange:function(){var e=this.rgb();t&&(t.find("#r").value(e.r),t.find("#g").value(e.g),t.find("#b").value(e.b),t.find("#hex").value(this.value().substr(1)),a(t,this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,n,i=t.find("colorpicker")[0];if(e=this.name(),n=this.value(),"hex"===e)return o(t,n="#"+n),void i.value(n);n={r:t.find("#r").value(),g:t.find("#g").value(),b:t.find("#b").value()},i.value(n),o(t,n)}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){n("#"+t.toJSON().hex)}});o(t,i)};e.add("colorpicker",function(i){i.settings.color_picker_callback||(i.settings.color_picker_callback=function(e,n){t(i,e,n)})})}();
|
||||
7
assets/libs/tinymce/plugins/contextmenu/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "contextmenu" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/contextmenu')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/contextmenu'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/contextmenu/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var o=function(t){var n=t,e=function(){return n};return{get:e,set:function(t){n=t},clone:function(){return o(e())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(t){return{isContextMenuVisible:function(){return t.get()}}},r=function(t){return t.settings.contextmenu_never_use_native},u=function(t){return t.getParam("contextmenu","link openlink image inserttable | cell row column deletetable")},l=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),s=function(t){return l.DOM.select(t.settings.ui_container)[0]},a=function(t,n){return{x:t,y:n}},f=function(t,n,e){return a(t.x+n,t.y+e)},m=function(t,n){if(t&&"static"!==l.DOM.getStyle(t,"position",!0)){var e=l.DOM.getPos(t),o=e.x-t.scrollLeft,i=e.y-t.scrollTop;return f(n,-o,-i)}return f(n,0,0)},c=function(t,n){if(t.inline)return m(s(t),a((u=n).pageX,u.pageY));var e,o,i,r,u,c=(e=t.getContentAreaContainer(),o=a((r=n).clientX,r.clientY),i=l.DOM.getPos(e),f(o,i.x,i.y));return m(s(t),c)},g=tinymce.util.Tools.resolve("tinymce.ui.Factory"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),y=function(t,n,e,o){null===o.get()?o.set(function(e,n){var t,o,i=[];o=u(e),v.each(o.split(/[ ,]/),function(t){var n=e.menuItems[t];"|"===t&&(n={text:t}),n&&(n.shortcut="",i.push(n))});for(var r=0;r<i.length;r++)"|"===i[r].text&&(0!==r&&r!==i.length-1||i.splice(r,1));return(t=g.create("menu",{items:i,context:"contextmenu",classes:"contextmenu"})).uiContainer=s(e),t.renderTo(s(e)),t.on("hide",function(t){t.control===this&&n.set(!1)}),e.on("remove",function(){t.remove(),t=null}),t}(t,e)):o.get().show(),o.get().moveTo(n.x,n.y),e.set(!0)},x=function(e,o,i){e.on("contextmenu",function(t){var n;n=e,(!t.ctrlKey||r(n))&&(t.preventDefault(),y(e,c(e,t),o,i))})};t.add("contextmenu",function(t){var n=o(null),e=o(!1);return x(t,e,n),i(e)})}();
|
||||
7
assets/libs/tinymce/plugins/directionality/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "directionality" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/directionality')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/directionality'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/directionality/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(t,e){var i,n=t.dom,o=t.selection.getSelectedBlocks();o.length&&(i=n.getAttrib(o[0],"dir"),c.each(o,function(t){n.getParent(t.parentNode,'*[dir="'+e+'"]',n.getRoot())||n.setAttrib(t,"dir",i!==e?e:null)}),t.nodeChanged())},i=function(t){t.addCommand("mceDirectionLTR",function(){e(t,"ltr")}),t.addCommand("mceDirectionRTL",function(){e(t,"rtl")})},n=function(e){var i=[];return c.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(t){i.push(t+"[dir="+e+"]")}),i.join(",")},o=function(t){t.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:n("ltr")}),t.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:n("rtl")})};t.add("directionality",function(t){i(t),o(t)})}();
|
||||
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-cool.gif
Normal file
|
After Width: | Height: | Size: 354 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-cry.gif
Normal file
|
After Width: | Height: | Size: 329 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-embarassed.gif
Normal file
|
After Width: | Height: | Size: 331 B |
|
After Width: | Height: | Size: 342 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-frown.gif
Normal file
|
After Width: | Height: | Size: 340 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-innocent.gif
Normal file
|
After Width: | Height: | Size: 336 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-kiss.gif
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-laughing.gif
Normal file
|
After Width: | Height: | Size: 343 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-money-mouth.gif
Normal file
|
After Width: | Height: | Size: 321 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-sealed.gif
Normal file
|
After Width: | Height: | Size: 323 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-smile.gif
Normal file
|
After Width: | Height: | Size: 344 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-surprised.gif
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-tongue-out.gif
Normal file
|
After Width: | Height: | Size: 328 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-undecided.gif
Normal file
|
After Width: | Height: | Size: 337 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-wink.gif
Normal file
|
After Width: | Height: | Size: 350 B |
BIN
assets/libs/tinymce/plugins/emoticons/img/smiley-yell.gif
Normal file
|
After Width: | Height: | Size: 336 B |
7
assets/libs/tinymce/plugins/emoticons/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "emoticons" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/emoticons')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/emoticons'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/emoticons/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]],i=function(i){var o;return o='<table role="list" class="mce-grid">',e.each(n,function(t){o+="<tr>",e.each(t,function(t){var e=i+"/img/smiley-"+t+".gif";o+='<td><a href="#" data-mce-url="'+e+'" data-mce-alt="'+t+'" tabindex="-1" role="option" aria-label="'+t+'"><img src="'+e+'" style="width: 18px; height: 18px" role="presentation" /></a></td>'}),o+="</tr>"}),o+="</table>"},o=function(a,t){var e=i(t);a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:e,onclick:function(t){var e,i,o,n=a.dom.getParent(t.target,"a");n&&(e=a,i=n.getAttribute("data-mce-url"),o=n.getAttribute("data-mce-alt"),e.insertContent(e.dom.createHTML("img",{src:i,alt:o})),this.hide())}},tooltip:"Emoticons"})};t.add("emoticons",function(t,e){o(t,e)})}();
|
||||
7
assets/libs/tinymce/plugins/fullpage/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "fullpage" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/fullpage')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/fullpage'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/fullpage/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/fullscreen/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "fullscreen" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/fullscreen')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/fullscreen'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/fullscreen/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var i=function(e){var n=e,t=function(){return n};return{get:t,set:function(e){n=e},clone:function(){return i(t())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(e){return{isFullscreen:function(){return null!==e.get()}}},n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),m=function(e,n){e.fire("FullscreenStateChanged",{state:n})},g=n.DOM,r=function(e,n){var t,r,l,i,o,c,s=document.body,u=document.documentElement,d=n.get(),a=function(){var e,n,t,i;g.setStyle(l,"height",(t=window,i=document.body,i.offsetWidth&&(e=i.offsetWidth,n=i.offsetHeight),t.innerWidth&&t.innerHeight&&(e=t.innerWidth,n=t.innerHeight),{w:e,h:n}).h-(r.clientHeight-l.clientHeight))},h=function(){g.unbind(window,"resize",a)};if(t=(r=e.getContainer()).style,i=(l=e.getContentAreaContainer().firstChild).style,d)i.width=d.iframeWidth,i.height=d.iframeHeight,d.containerWidth&&(t.width=d.containerWidth),d.containerHeight&&(t.height=d.containerHeight),g.removeClass(s,"mce-fullscreen"),g.removeClass(u,"mce-fullscreen"),g.removeClass(r,"mce-fullscreen"),o=d.scrollPos,window.scrollTo(o.x,o.y),g.unbind(window,"resize",d.resizeHandler),e.off("remove",d.removeHandler),n.set(null),m(e,!1);else{var f={scrollPos:(c=g.getViewPort(),{x:c.x,y:c.y}),containerWidth:t.width,containerHeight:t.height,iframeWidth:i.width,iframeHeight:i.height,resizeHandler:a,removeHandler:h};i.width=i.height="100%",t.width=t.height="",g.addClass(s,"mce-fullscreen"),g.addClass(u,"mce-fullscreen"),g.addClass(r,"mce-fullscreen"),g.bind(window,"resize",a),e.on("remove",h),a(),n.set(f),m(e,!0)}},l=function(e,n){e.addCommand("mceFullScreen",function(){r(e,n)})},o=function(t){return function(e){var n=e.control;t.on("FullscreenStateChanged",function(e){n.active(e.state)})}},c=function(e){e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Shift+F",selectable:!0,cmd:"mceFullScreen",onPostRender:o(e),context:"view"}),e.addButton("fullscreen",{active:!1,tooltip:"Fullscreen",cmd:"mceFullScreen",onPostRender:o(e)})};e.add("fullscreen",function(e){var n=i(null);return e.settings.inline||(l(e,n),c(e),e.addShortcut("Ctrl+Shift+F","","mceFullScreen")),t(n)})}();
|
||||
BIN
assets/libs/tinymce/plugins/help/img/logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
7
assets/libs/tinymce/plugins/help/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "help" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/help')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/help'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/help/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/hr/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "hr" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/hr')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/hr'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/hr/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"<hr />")})},o=function(n){n.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),n.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})};n.add("hr",function(n){t(n),o(n)})}();
|
||||
7
assets/libs/tinymce/plugins/image/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "image" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/image')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/image'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/image/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/imagetools/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "imagetools" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/imagetools')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/imagetools'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/imagetools/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/importcss/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "importcss" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/importcss')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/importcss'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/importcss/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),d=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),n=tinymce.util.Tools.resolve("tinymce.Env"),y=tinymce.util.Tools.resolve("tinymce.util.Tools"),s=function(e){return e.getParam("importcss_merge_classes")},r=function(e){return e.getParam("importcss_exclusive")},_=function(e){return e.getParam("importcss_selector_converter")},u=function(e){return e.getParam("importcss_selector_filter")},l=function(e){return e.getParam("importcss_groups")},a=function(e){return e.getParam("importcss_append")},f=function(e){return e.getParam("importcss_file_filter")},m=function(e){var t=n.cacheSuffix;return"string"==typeof e&&(e=e.replace("?"+t,"").replace("&"+t,"")),e},g=function(e,t){var n=e.settings,r=!1!==n.skin&&(n.skin||"lightgray");return!!r&&t===(n.skin_url?e.documentBaseURI.toAbsolute(n.skin_url):i.baseURL+"/skins/"+r)+"/content"+(e.inline?".inline":"")+".min.css"},x=function(t){return"string"==typeof t?function(e){return-1!==e.indexOf(t)}:t instanceof RegExp?function(e){return t.test(e)}:t},T=function(o,e,s){var u=[],n={};y.each(o.contentCSS,function(e){n[e]=!0}),s||(s=function(e,t){return t||n[e]});try{y.each(e.styleSheets,function(e){!function t(e,n){var r,i=e.href;if((i=m(i))&&s(i,n)&&!g(o,i)){y.each(e.imports,function(e){t(e,!0)});try{r=e.cssRules||e.rules}catch(c){}y.each(r,function(e){e.styleSheet?t(e.styleSheet,!0):e.selectorText&&y.each(e.selectorText.split(","),function(e){u.push(y.trim(e))})})}}(e)})}catch(t){}return u},k=function(e,t){var n,r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(r){var i=r[1],c=r[2].substr(1).split(".").join(" "),o=y.makeMap("a,img");return r[1]?(n={title:t},e.schema.getTextBlockElements()[i]?n.block=i:e.schema.getBlockElements()[i]||o[i.toLowerCase()]?n.selector=i:n.inline=i):r[2]&&(n={inline:"span",title:t.substr(1),classes:c}),!1!==s(e)?n.classes=c:n.attributes={"class":c},n}},P=function(e,t){return null===t||!1!==r(e)},c=k,t=function(h){h.on("renderFormatsMenu",function(e){var t,p={},c=x(u(h)),v=e.control,o=(t=l(h),y.map(t,function(e){return y.extend({},e,{original:e,selectors:{},filter:x(e.filter),item:{text:e.title,menu:[]}})})),s=function(e,t){if(f=e,g=p,!(P(h,m=t)?f in g:f in m.selectors)){u=e,a=p,P(h,l=t)?a[u]=!0:l.selectors[u]=!0;var n=(c=(i=h).plugins.importcss,o=e,((s=t)&&s.selector_converter?s.selector_converter:_(i)?_(i):function(){return k(i,o)}).call(c,o,s));if(n){var r=n.name||d.DOM.uniqueId();return h.formatter.register(r,n),y.extend({},v.settings.itemDefaults,{text:n.title,format:r})}}var i,c,o,s,u,l,a,f,m,g;return null};a(h)||v.items().remove(),y.each(T(h,e.doc||h.getDoc(),x(f(h))),function(n){if(-1===n.indexOf(".mce-")&&(!c||c(n))){var e=(r=o,i=n,y.grep(r,function(e){return!e.filter||e.filter(i)}));if(0<e.length)y.each(e,function(e){var t=s(n,e);t&&e.item.menu.push(t)});else{var t=s(n,null);t&&v.add(t)}}var r,i}),y.each(o,function(e){0<e.item.menu.length&&v.add(e.item)}),e.control.renderNew()})},o=function(t){return{convertSelectorToFormat:function(e){return c(t,e)}}};e.add("importcss",function(e){return t(e),o(e)})}();
|
||||
7
assets/libs/tinymce/plugins/insertdatetime/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "insertdatetime" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/insertdatetime')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/insertdatetime'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/insertdatetime/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var r=function(e){var t=e,n=function(){return t};return{get:n,set:function(e){t=e},clone:function(){return r(n())}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},a=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},t=function(e){return e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d"))},i=n,o=a,u=function(e){var t=a(e);return 0<t.length?t[0]:n(e)},m=function(e){return e.getParam("insertdatetime_element",!1)},c="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),s="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),d="January February March April May June July August September October November December".split(" "),p=function(e,t){if((e=""+e).length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e},f=function(e,t,n){return n=n||new Date,t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",p(n.getMonth()+1,2))).replace("%d",p(n.getDate(),2))).replace("%H",""+p(n.getHours(),2))).replace("%M",""+p(n.getMinutes(),2))).replace("%S",""+p(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(d[n.getMonth()]))).replace("%b",""+e.translate(s[n.getMonth()]))).replace("%A",""+e.translate(l[n.getDay()]))).replace("%a",""+e.translate(c[n.getDay()]))).replace("%%","%")},g=function(e,t){if(m(e)){var n=f(e,t),r=void 0;r=/%[HMSIp]/.test(t)?f(e,"%Y-%m-%dT%H:%M"):f(e,"%Y-%m-%d");var a=e.dom.getParent(e.selection.getStart(),"time");a?(o=a,u=r,c=n,l=(i=e).dom.create("time",{datetime:u},c),o.parentNode.insertBefore(l,o),i.dom.remove(o),i.selection.select(l,!0),i.selection.collapse(!1)):e.insertContent('<time datetime="'+r+'">'+n+"</time>")}else e.insertContent(f(e,t));var i,o,u,c,l},y=f,M=function(e){e.addCommand("mceInsertDate",function(){g(e,t(e))}),e.addCommand("mceInsertTime",function(){g(e,i(e))})},v=tinymce.util.Tools.resolve("tinymce.util.Tools"),S=function(t,n){var r,a,e,i=(a=n,e=o(r=t),v.map(e,function(e){return{text:y(r,e),onclick:function(){a.set(e),g(r,e)}}}));t.addButton("insertdatetime",{type:"splitbutton",title:"Insert date/time",menu:i,onclick:function(){var e=n.get();g(t,e||u(t))}}),t.addMenuItem("insertdatetime",{icon:"date",text:"Date/time",menu:i,context:"insert"})};e.add("insertdatetime",function(e){var t=r(null);M(e),S(e,t)})}();
|
||||
7
assets/libs/tinymce/plugins/legacyoutput/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "legacyoutput" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/legacyoutput')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/legacyoutput'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/legacyoutput/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.util.Tools"),t=function(a){a.settings.inline_styles=!1,a.on("init",function(){var e,t,n,i;e=a,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",n=o.explode(e.settings.font_size_style_values),i=e.schema,e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(e){return o.inArray(n,e.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}}),o.each("b,i,u,strike".split(","),function(e){i.addValidElements(e+"[*]")}),i.getElementRule("font")||i.addValidElements("font[face|size|color|style]"),o.each(t.split(","),function(e){var t=i.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})},n=function(i){i.addButton("fontsizeselect",function(){var o=[],e=i.settings.fontsizeFormats||"8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7";return i.$.each(e.split(" "),function(e,t){var n=t,i=t,a=t.split("=");1<a.length&&(n=a[0],i=a[1]),o.push({text:n,value:i})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:o,fixedWidth:!0,onPostRender:function(){var t=this;i.on("NodeChange",function(){var e;(e=i.dom.getParent(i.selection.getNode(),"font"))?t.value(e.size):t.value("")})},onclick:function(e){e.control.settings.value&&i.execCommand("FontSize",!1,e.control.settings.value)}}}),i.addButton("fontselect",function(){var n=[],e=function(e){for(var t=(e=e.replace(/;$/,"").split(";")).length;t--;)e[t]=e[t].split("=");return e}(i.settings.font_formats||"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats");return i.$.each(e,function(e,t){n.push({text:{raw:t[0]},value:t[1],textStyle:-1===t[1].indexOf("dings")?"font-family:"+t[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:n,fixedWidth:!0,onPostRender:function(){var t=this;i.on("NodeChange",function(){var e;(e=i.dom.getParent(i.selection.getNode(),"font"))?t.value(e.face):t.value("")})},onselect:function(e){e.control.settings.value&&i.execCommand("FontName",!1,e.control.settings.value)}}})};e.add("legacyoutput",function(e){t(e),n(e)})}();
|
||||
7
assets/libs/tinymce/plugins/link/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "link" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/link')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/link'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/link/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/lists/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "lists" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/lists')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/lists'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/lists/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/media/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "media" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/media')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/media'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/media/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/nonbreaking/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "nonbreaking" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/nonbreaking')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/nonbreaking'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/nonbreaking/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n,e){var t,i=(t=n).plugins.visualchars&&t.plugins.visualchars.isEnabled()?'<span class="mce-nbsp"> </span>':" ";n.insertContent(function(n,e){for(var t="",i=0;i<e;i++)t+=n;return t}(i,e)),n.dom.setAttrib(n.dom.select("span.mce-nbsp"),"data-mce-bogus","1")},e=function(n){n.addCommand("mceNonBreaking",function(){i(n,1)})},o=tinymce.util.Tools.resolve("tinymce.util.VK"),a=function(n){var e=n.getParam("nonbreaking_force_tab",0);return"boolean"==typeof e?!0===e?3:0:e},t=function(e){var t=a(e);0<t&&e.on("keydown",function(n){if(n.keyCode===o.TAB&&!n.isDefaultPrevented()){if(n.shiftKey)return;n.preventDefault(),n.stopImmediatePropagation(),i(e,t)}})},r=function(n){n.addButton("nonbreaking",{title:"Nonbreaking space",cmd:"mceNonBreaking"}),n.addMenuItem("nonbreaking",{icon:"nonbreaking",text:"Nonbreaking space",cmd:"mceNonBreaking",context:"insert"})};n.add("nonbreaking",function(n){e(n),r(n),t(n)})}();
|
||||
7
assets/libs/tinymce/plugins/noneditable/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "noneditable" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/noneditable')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/noneditable'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/noneditable/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(t){return t.getParam("noneditable_noneditable_class","mceNonEditable")},u=function(t){return t.getParam("noneditable_editable_class","mceEditable")},f=function(t){var n=t.getParam("noneditable_regexp",[]);return n&&n.constructor===RegExp?[n]:n},s=function(n){return function(t){return-1!==(" "+t.attr("class")+" ").indexOf(n)}},d=function(i,o,c){return function(t){var n=arguments,e=n[n.length-2],r=0<e?o.charAt(e-1):"";if('"'===r)return t;if(">"===r){var a=o.lastIndexOf("<",e);if(-1!==a&&-1!==o.substring(a,e).indexOf('contenteditable="false"'))return t}return'<span class="'+c+'" data-mce-content="'+i.dom.encode(n[0])+'">'+i.dom.encode("string"==typeof n[1]?n[1]:n[0])+"</span>"}},n=function(n){var t,e,r="contenteditable";t=" "+c.trim(u(n))+" ",e=" "+c.trim(l(n))+" ";var a=s(t),i=s(e),o=f(n);n.on("PreInit",function(){0<o.length&&n.on("BeforeSetContent",function(t){!function(t,n,e){var r=n.length,a=e.content;if("raw"!==e.format){for(;r--;)a=a.replace(n[r],d(t,a,l(t)));e.content=a}}(n,o,t)}),n.parser.addAttributeFilter("class",function(t){for(var n,e=t.length;e--;)n=t[e],a(n)?n.attr(r,"true"):i(n)&&n.attr(r,"false")}),n.serializer.addAttributeFilter(r,function(t){for(var n,e=t.length;e--;)n=t[e],(a(n)||i(n))&&(0<o.length&&n.attr("data-mce-content")?(n.name="#text",n.type=3,n.raw=!0,n.value=n.attr("data-mce-content")):n.attr(r,null))})})};t.add("noneditable",function(t){n(t)})}();
|
||||
7
assets/libs/tinymce/plugins/pagebreak/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "pagebreak" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/pagebreak')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/pagebreak'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/pagebreak/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),n=function(e){return e.getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e")},i=function(e){return e.getParam("pagebreak_split_block",!1)},t=function(){return"mce-pagebreak"},r=function(){return'<img src="'+a.transparentSrc+'" class="mce-pagebreak" data-mce-resize="false" data-mce-placeholder />'},c=function(c){var o=n(c),a=new RegExp(o.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi");c.on("BeforeSetContent",function(e){e.content=e.content.replace(a,r())}),c.on("PreInit",function(){c.serializer.addNodeFilter("img",function(e){for(var a,n,t=e.length;t--;)if((n=(a=e[t]).attr("class"))&&-1!==n.indexOf("mce-pagebreak")){var r=a.parent;if(c.schema.getBlockElements()[r.name]&&i(c)){r.type=3,r.value=o,r.raw=!0,a.remove();continue}a.type=3,a.value=o,a.raw=!0}})})},o=r,g=t,u=function(e){e.addCommand("mcePageBreak",function(){e.settings.pagebreak_split_block?e.insertContent("<p>"+o()+"</p>"):e.insertContent(o())})},m=function(a){a.on("ResolveName",function(e){"IMG"===e.target.nodeName&&a.dom.hasClass(e.target,g())&&(e.name="pagebreak")})},s=function(e){e.addButton("pagebreak",{title:"Page break",cmd:"mcePageBreak"}),e.addMenuItem("pagebreak",{text:"Page break",icon:"pagebreak",cmd:"mcePageBreak",context:"insert"})};e.add("pagebreak",function(e){u(e),s(e),c(e),m(e)})}();
|
||||
7
assets/libs/tinymce/plugins/paste/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "paste" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/paste')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/paste'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/paste/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/preview/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "preview" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/preview')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/preview'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/preview/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=tinymce.util.Tools.resolve("tinymce.Env"),c=function(e){return parseInt(e.getParam("plugin_preview_width","650"),10)},a=function(e){return parseInt(e.getParam("plugin_preview_height","500"),10)},s=function(e){return e.getParam("content_style","")},d=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(t){var n="",i=t.dom.encode,e=s(t);n+='<base href="'+i(t.documentBaseURI.getURI())+'">',e&&(n+='<style type="text/css">'+e+"</style>"),d.each(t.contentCSS,function(e){n+='<link type="text/css" rel="stylesheet" href="'+i(t.documentBaseURI.toAbsolute(e))+'">'});var o=t.settings.body_id||"tinymce";-1!==o.indexOf("=")&&(o=(o=t.getParam("body_id","","hash"))[t.id]||o);var r=t.settings.body_class||"";-1!==r.indexOf("=")&&(r=(r=t.getParam("body_class","","hash"))[t.id]||"");var c=t.settings.directionality?' dir="'+t.settings.directionality+'"':"";return"<!DOCTYPE html><html><head>"+n+'</head><body id="'+i(o)+'" class="mce-content-body '+i(r)+'"'+i(c)+">"+t.getContent()+'<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A") {e.preventDefault();}}}, false);<\/script> </body></html>'},m=function(e,t,n){var i=l(e);if(n)t.src="data:text/html;charset=utf-8,"+encodeURIComponent(i);else{var o=t.contentWindow.document;o.open(),o.write(i),o.close()}},t=function(n){var i=!r.ie,e='<iframe src="" frameborder="0"'+(i?' sandbox="allow-scripts"':"")+"></iframe>",t=c(n),o=a(n);n.windowManager.open({title:"Preview",width:t,height:o,html:e,buttons:{text:"Close",onclick:function(e){e.control.parent().parent().close()}},onPostRender:function(e){var t=e.control.getEl("body").firstChild;m(n,t,i)}})},n=function(e){e.addCommand("mcePreview",function(){t(e)})},i=function(e){e.addButton("preview",{title:"Preview",cmd:"mcePreview"}),e.addMenuItem("preview",{text:"Preview",cmd:"mcePreview",context:"view"})};e.add("preview",function(e){n(e),i(e)})}();
|
||||
7
assets/libs/tinymce/plugins/print/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "print" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/print')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/print'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/print/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(t){t.addCommand("mcePrint",function(){t.getWin().print()})},i=function(t){t.addButton("print",{title:"Print",cmd:"mcePrint"}),t.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print"})};t.add("print",function(t){n(t),i(t),t.addShortcut("Meta+P","","mcePrint")})}();
|
||||
7
assets/libs/tinymce/plugins/save/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "save" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/save')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/save'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/save/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),o=function(n){return n.getParam("save_enablewhendirty",!0)},c=function(n){return!!n.getParam("save_onsavecallback")},i=function(n){return!!n.getParam("save_oncancelcallback")},r=function(n,e){n.notificationManager.open({text:n.translate(e),type:"error"})},e=function(n){var e;if(e=t.DOM.getParent(n.id,"form"),!o(n)||n.isDirty()){if(n.save(),c(n))return n.execCallback("save_onsavecallback",n),void n.nodeChanged();e?(n.setDirty(!1),e.onsubmit&&!e.onsubmit()||("function"==typeof e.submit?e.submit():r(n,"Error: Form submit field collision.")),n.nodeChanged()):r(n,"Error: No form element found.")}},l=function(n){var e=a.trim(n.startContent);i(n)?n.execCallback("save_oncancelcallback",n):(n.setContent(e),n.undoManager.clear(),n.nodeChanged())},d=function(n){n.addCommand("mceSave",function(){e(n)}),n.addCommand("mceCancel",function(){l(n)})},s=function(t){return function(n){var e=n.control;t.on("nodeChange dirty",function(){e.disabled(o(t)&&!t.isDirty())})}},u=function(n){n.addButton("save",{icon:"save",text:"Save",cmd:"mceSave",disabled:!0,onPostRender:s(n)}),n.addButton("cancel",{text:"Cancel",icon:!1,cmd:"mceCancel",disabled:!0,onPostRender:s(n)}),n.addShortcut("Meta+S","","mceSave")};n.add("save",function(n){u(n),d(n)})}();
|
||||
7
assets/libs/tinymce/plugins/searchreplace/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "searchreplace" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/searchreplace')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/searchreplace'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/searchreplace/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/spellchecker/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "spellchecker" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/spellchecker')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/spellchecker'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/spellchecker/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/tabfocus/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "tabfocus" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/tabfocus')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/tabfocus'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/tabfocus/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),c=tinymce.util.Tools.resolve("tinymce.EditorManager"),s=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Delay"),y=tinymce.util.Tools.resolve("tinymce.util.Tools"),f=tinymce.util.Tools.resolve("tinymce.util.VK"),d={getTabFocus:function(e){return e.getParam("tab_focus",e.getParam("tabfocus_elements",":prev,:next"))}},m=t.DOM,n=function(e){e.keyCode!==f.TAB||e.ctrlKey||e.altKey||e.metaKey||e.preventDefault()},i=function(r){function e(n){var i,o,e,l;if(!(n.keyCode!==f.TAB||n.ctrlKey||n.altKey||n.metaKey||n.isDefaultPrevented())&&(1===(e=y.explode(d.getTabFocus(r))).length&&(e[1]=e[0],e[0]=":prev"),o=n.shiftKey?":prev"===e[0]?u(-1):m.get(e[0]):":next"===e[1]?u(1):m.get(e[1]))){var t=c.get(o.id||o.name);o.id&&t?t.focus():a.setTimeout(function(){s.webkit||window.focus(),o.focus()},10),n.preventDefault()}function u(e){function t(t){return/INPUT|TEXTAREA|BUTTON/.test(t.tagName)&&c.get(n.id)&&-1!==t.tabIndex&&function e(t){return"BODY"===t.nodeName||"hidden"!==t.type&&"none"!==t.style.display&&"hidden"!==t.style.visibility&&e(t.parentNode)}(t)}if(o=m.select(":input:enabled,*[tabindex]:not(iframe)"),y.each(o,function(e,t){if(e.id===r.id)return i=t,!1}),0<e){for(l=i+1;l<o.length;l++)if(t(o[l]))return o[l]}else for(l=i-1;0<=l;l--)if(t(o[l]))return o[l];return null}}r.on("init",function(){r.inline&&m.setAttrib(r.getBody(),"tabIndex",null),r.on("keyup",n),s.gecko?r.on("keypress keydown",e):r.on("keydown",e)})};e.add("tabfocus",function(e){i(e)})}();
|
||||
7
assets/libs/tinymce/plugins/table/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "table" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/table')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/table'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/table/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/template/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "template" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/template')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/template'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/template/plugin.min.js
vendored
Normal file
7
assets/libs/tinymce/plugins/textcolor/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "textcolor" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/textcolor')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/textcolor'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/textcolor/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(t,o){var r;return t.dom.getParents(t.selection.getStart(),function(t){var e;(e=t.style["forecolor"===o?"color":"background-color"])&&(r=e)}),r},g=function(t){var e,o=[];for(e=0;e<t.length;e+=2)o.push({text:t[e+1],color:"#"+t[e]});return o},r=function(t,e,o){t.undoManager.transact(function(){t.focus(),t.formatter.apply(e,{value:o}),t.nodeChanged()})},e=function(t,e){t.undoManager.transact(function(){t.focus(),t.formatter.remove(e,{value:null},null,!0),t.nodeChanged()})},o=function(o){o.addCommand("mceApplyTextcolor",function(t,e){r(o,t,e)}),o.addCommand("mceRemoveTextcolor",function(t){e(o,t)})},F=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.util.Tools"),a=["000000","Black","993300","Burnt orange","333300","Dark olive","003300","Dark green","003366","Dark azure","000080","Navy Blue","333399","Indigo","333333","Very dark gray","800000","Maroon","FF6600","Orange","808000","Olive","008000","Green","008080","Teal","0000FF","Blue","666699","Grayish blue","808080","Gray","FF0000","Red","FF9900","Amber","99CC00","Yellow green","339966","Sea green","33CCCC","Turquoise","3366FF","Royal blue","800080","Purple","999999","Medium gray","FF00FF","Magenta","FFCC00","Gold","FFFF00","Yellow","00FF00","Lime","00FFFF","Aqua","00CCFF","Sky blue","993366","Red violet","FFFFFF","White","FF99CC","Pink","FFCC99","Peach","FFFF99","Light yellow","CCFFCC","Pale green","CCFFFF","Pale cyan","99CCFF","Light sky blue","CC99FF","Plum"],l=function(t){return t.getParam("textcolor_map",a)},c=function(t){return t.getParam("textcolor_rows",5)},u=function(t){return t.getParam("textcolor_cols",8)},m=function(t){return t.getParam("color_picker_callback",null)},s=function(t){return t.getParam("forecolor_map",l(t))},d=function(t){return t.getParam("backcolor_map",l(t))},f=function(t){return t.getParam("forecolor_rows",c(t))},b=function(t){return t.getParam("backcolor_rows",c(t))},p=function(t){return t.getParam("forecolor_cols",u(t))},C=function(t){return t.getParam("backcolor_cols",u(t))},y=m,v=function(t){return"function"==typeof m(t)},h=tinymce.util.Tools.resolve("tinymce.util.I18n"),P=function(t,e,o,r){var n,a,l,c,i,u,m,s=0,d=F.DOM.uniqueId("mcearia"),f=function(t,e){var o="transparent"===t;return'<td class="mce-grid-cell'+(o?" mce-colorbtn-trans":"")+'"><div id="'+d+"-"+s+++'" data-mce-color="'+(t||"")+'" role="option" tabIndex="-1" style="'+(t?"background-color: "+t:"")+'" title="'+h.translate(e)+'">'+(o?"×":"")+"</div></td>"};for((n=g(o)).push({text:h.translate("No color"),color:"transparent"}),l='<table class="mce-grid mce-grid-border mce-colorbutton-grid" role="list" cellspacing="0"><tbody>',c=n.length-1,u=0;u<e;u++){for(l+="<tr>",i=0;i<t;i++)l+=c<(m=u*t+i)?"<td></td>":f((a=n[m]).color,a.text);l+="</tr>"}if(r){for(l+='<tr><td colspan="'+t+'" class="mce-custom-color-btn"><div id="'+d+'-c" class="mce-widget mce-btn mce-btn-small mce-btn-flat" role="button" tabindex="-1" aria-labelledby="'+d+'-c" style="width: 100%"><button type="button" role="presentation" tabindex="-1">'+h.translate("Custom...")+"</button></div></td></tr>",l+="<tr>",i=0;i<t;i++)l+=f("","Custom color");l+="</tr>"}return l+="</tbody></table>"},k=function(t,e){t.style.background=e,t.setAttribute("data-mce-color",e)},x=function(o){return function(t){var e=t.control;e._color?o.execCommand("mceApplyTextcolor",e.settings.format,e._color):o.execCommand("mceRemoveTextcolor",e.settings.format)}},T=function(r,c){return function(t){var e,a=this.parent(),o=n(r,a.settings.format),l=function(t){a.hidePanel(),a.color(t),r.execCommand("mceApplyTextcolor",a.settings.format,t)};F.DOM.getParent(t.target,".mce-custom-color-btn")&&(a.hidePanel(),y(r).call(r,function(t){var e,o,r,n=a.panel.getEl().getElementsByTagName("table")[0];for(e=i.map(n.rows[n.rows.length-1].childNodes,function(t){return t.firstChild}),r=0;r<e.length&&(o=e[r]).getAttribute("data-mce-color");r++);if(r===c)for(r=0;r<c-1;r++)k(e[r],e[r+1].getAttribute("data-mce-color"));k(o,t),l(t)},o)),(e=t.target.getAttribute("data-mce-color"))?(this.lastId&&F.DOM.get(this.lastId).setAttribute("aria-selected","false"),t.target.setAttribute("aria-selected",!0),this.lastId=t.target.id,"transparent"===e?(a.hidePanel(),a.resetColor(),r.execCommand("mceRemoveTextcolor",a.settings.format)):l(e)):null!==e&&a.hidePanel()}},_=function(n,a){return function(){var t=a?p(n):C(n),e=a?f(n):b(n),o=a?s(n):d(n),r=v(n);return P(t,e,o,r)}},A=function(t){t.addButton("forecolor",{type:"colorbutton",tooltip:"Text color",format:"forecolor",panel:{role:"application",ariaRemember:!0,html:_(t,!0),onclick:T(t,p(t))},onclick:x(t)}),t.addButton("backcolor",{type:"colorbutton",tooltip:"Background color",format:"hilitecolor",panel:{role:"application",ariaRemember:!0,html:_(t,!1),onclick:T(t,C(t))},onclick:x(t)})};t.add("textcolor",function(t){o(t),A(t)})}();
|
||||
7
assets/libs/tinymce/plugins/textpattern/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "textpattern" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/textpattern')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/textpattern'
|
||||
require('./plugin.js');
|
||||
1
assets/libs/tinymce/plugins/textpattern/plugin.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(){"use strict";var r=function(t){var e=t,n=function(){return e};return{get:n,set:function(t){e=t},clone:function(){return r(n())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(e){return{setPatterns:function(t){e.set(t)},getPatterns:function(){return e.get()}}},e=[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"***",end:"***",format:["bold","italic"]},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}],a=function(t){return t.textpattern_patterns!==undefined?t.textpattern_patterns:e},o=tinymce.util.Tools.resolve("tinymce.util.Delay"),i=tinymce.util.Tools.resolve("tinymce.util.VK"),g=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),h=tinymce.util.Tools.resolve("tinymce.util.Tools"),m=function(t,e){for(var n=0;n<t.length;n++)if(0===e.indexOf(t[n].start)&&(!t[n].end||e.lastIndexOf(t[n].end)===e.length-t[n].end.length))return t[n]},c=function(t,e,n,r){var a,o,i,s,l,d,f=t.sort(function(t,e){return t.start.length>e.start.length?-1:t.start.length<e.start.length?1:0});for(o=0;o<f.length;o++)if((a=f[o]).end!==undefined&&(s=a,l=n,d=r,e.substr(l-s.end.length-d,s.end.length)===s.end)&&0<n-r-(i=a).end.length-i.start.length)return a},s=function(t,e,n){if(!1!==e.collapsed){var r=e.startContainer,a=r.data,o=!0===n?1:0;if(3===r.nodeType){var i=c(t,a,e.startOffset,o);if(i!==undefined){var s=a.lastIndexOf(i.end,e.startOffset-o),l=a.lastIndexOf(i.start,s-i.end.length);if(s=a.indexOf(i.end,l+i.start.length),-1!==l){var d=document.createRange();d.setStart(r,l),d.setEnd(r,s+i.end.length);var f=m(t,d.toString());if(!(i===undefined||f!==i||r.data.length<=i.start.length+i.end.length))return{pattern:i,startOffset:l,endOffset:s}}}}}},l=function(t,e,n){var r=t.selection.getRng(!0),a=s(e,r,n);if(a)return function(a,o,i,t){var s=h.isArray(i.pattern.format)?i.pattern.format:[i.pattern.format];if(0!==h.grep(s,function(t){var e=a.formatter.get(t);return e&&e[0].inline}).length)return a.undoManager.transact(function(){var t,e,n,r;t=o,e=i.pattern,n=i.endOffset,r=i.startOffset,(t=0<r?t.splitText(r):t).splitText(n-r+e.end.length),t.deleteData(0,e.start.length),t.deleteData(t.data.length-e.end.length,e.end.length),o=t,s.forEach(function(t){a.formatter.apply(t,{},o)})}),o}(t,r.startContainer,a)},d={patternFromRng:s,applyInlineFormatSpace:function(t,e){return l(t,e,!0)},applyInlineFormatEnter:function(t,e){return l(t,e,!1)},applyBlockFormat:function(t,e){var n,r,a,o,i,s,l,d,f,c,u;if(n=t.selection,r=t.dom,n.isCollapsed()&&(l=r.getParent(n.getStart(),"p"))){for(f=new g(l,l);i=f.next();)if(3===i.nodeType){o=i;break}if(o){if(!(d=m(e,o.data)))return;if(a=(c=n.getRng(!0)).startContainer,u=c.startOffset,o===a&&(u=Math.max(0,u-d.start.length)),h.trim(o.data).length===d.start.length)return;d.format&&(s=t.formatter.get(d.format))&&s[0].block&&(o.deleteData(0,d.start.length),t.formatter.apply(d.format,{},o),c.setStart(a,u),c.collapse(!0),n.setRng(c)),d.cmd&&t.undoManager.transact(function(){o.deleteData(0,d.start.length),t.execCommand(d.cmd)})}}}},f=function(t,e,n){for(var r=0;r<t.length;r++)if(n(t[r],e))return!0},u={handleEnter:function(t,e){var n,r;(n=d.applyInlineFormatEnter(t,e))&&((r=t.dom.createRng()).setStart(n,n.data.length),r.setEnd(n,n.data.length),t.selection.setRng(r)),d.applyBlockFormat(t,e)},handleInlineKey:function(t,e){var n,r,a,o,i;(n=d.applyInlineFormatSpace(t,e))&&(i=t.dom,r=n.data.slice(-1),/[\u00a0 ]/.test(r)&&(n.deleteData(n.data.length-1,1),a=i.doc.createTextNode(r),i.insertAfter(a,n.parentNode),(o=i.createRng()).setStart(a,1),o.setEnd(a,1),t.selection.setRng(o)))},checkCharCode:function(t,e){return f(t,e,function(t,e){return t.charCodeAt(0)===e.charCode})},checkKeyCode:function(t,e){return f(t,e,function(t,e){return t===e.keyCode&&!1===i.modifierPressed(e)})}},p=function(e,n){var r=[",",".",";",":","!","?"],a=[32];e.on("keydown",function(t){13!==t.keyCode||i.modifierPressed(t)||u.handleEnter(e,n.get())},!0),e.on("keyup",function(t){u.checkKeyCode(a,t)&&u.handleInlineKey(e,n.get())}),e.on("keypress",function(t){u.checkCharCode(r,t)&&o.setEditorTimeout(e,function(){u.handleInlineKey(e,n.get())})})};t.add("textpattern",function(t){var e=r(a(t.settings));return p(t,e),n(e)})}();
|
||||
7
assets/libs/tinymce/plugins/toc/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Exports the "toc" plugin for usage with module loaders
|
||||
// Usage:
|
||||
// CommonJS:
|
||||
// require('tinymce/plugins/toc')
|
||||
// ES2015:
|
||||
// import 'tinymce/plugins/toc'
|
||||
require('./plugin.js');
|
||||