spiderfw 0.6.38 → 0.6.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG +23 -0
- data/VERSION +1 -1
- data/apps/core/admin/views/admin.layout.shtml +6 -0
- data/apps/core/auth/controllers/login_controller.rb +1 -1
- data/apps/core/components/assets.rb +55 -6
- data/apps/core/components/public/bootstrap/scss/_variables.scss +5 -2
- data/apps/core/components/public/bootstrap/scss/bootstrap.css +942 -236
- data/apps/core/components/public/bootstrap/scss/responsive.css +187 -30
- data/apps/core/components/public/css/tinymce/skins/lightgray/AbsoluteLayout.less +17 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Animations.less +10 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Button.less +172 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ButtonGroup.less +71 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Checkbox.less +49 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ColorBox.less +6 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ColorButton.less +72 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ColorPicker.less +80 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ComboBox.less +39 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Container.less +9 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Content.Inline.less +4 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Content.Objects.less +166 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Content.less +27 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/CropRect.less +54 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/FieldSet.less +15 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/FitLayout.less +9 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/FloatPanel.less +69 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/FlowLayout.less +36 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Icons.Ie7.less +136 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Icons.less +180 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Iframe.less +6 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ImagePanel.less +20 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/InfoBox.less +71 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Label.less +38 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ListBox.less +26 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Menu.less +34 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/MenuBar.less +32 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/MenuButton.less +34 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/MenuItem.less +142 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Mixins.less +54 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Notification.less +144 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Panel.less +7 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Path.less +45 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Progress.less +34 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Radio.less +1 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Reset.less +32 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ResizeHandle.less +18 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Scrollable.less +44 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/SelectBox.less +6 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Slider.less +29 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Spacer.less +5 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/SplitButton.less +49 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/StackLayout.less +5 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/TabPanel.less +44 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/TextBox.less +41 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Throbber.less +19 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/TinyMCE.less +159 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/ToolTip.less +129 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Variables.less +214 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/Window.less +127 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/content.min.css +1 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/readme.md +1 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce-small.json +1277 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce.json +3381 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce.svg +129 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/img/object.gif +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.dev.less +46 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.ie7.dev.less +46 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.ie7.less +2542 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.less +2586 -0
- data/apps/core/components/public/css/tinymce/skins/lightgray/skin.min.css +1 -0
- data/apps/core/components/public/js/bootbox_2/bootbox.js +551 -0
- data/apps/core/components/public/js/jquery/jquery-ui-1.9.2/ui/i18n/jquery.ui.datepicker-it-min.js +4 -0
- data/apps/core/components/public/js/spider.js +7 -3
- data/apps/core/components/public/js/tinymce/classes/AddOnManager.js +265 -0
- data/apps/core/components/public/js/tinymce/classes/Compat.js +90 -0
- data/apps/core/components/public/js/tinymce/classes/DragDropOverrides.js +224 -0
- data/apps/core/components/public/js/tinymce/classes/Editor.js +2221 -0
- data/apps/core/components/public/js/tinymce/classes/EditorCommands.js +1028 -0
- data/apps/core/components/public/js/tinymce/classes/EditorManager.js +715 -0
- data/apps/core/components/public/js/tinymce/classes/EditorObservable.js +204 -0
- data/apps/core/components/public/js/tinymce/classes/EditorUpload.js +191 -0
- data/apps/core/components/public/js/tinymce/classes/EnterKey.js +676 -0
- data/apps/core/components/public/js/tinymce/classes/Env.js +177 -0
- data/apps/core/components/public/js/tinymce/classes/FocusManager.js +266 -0
- data/apps/core/components/public/js/tinymce/classes/ForceBlocks.js +138 -0
- data/apps/core/components/public/js/tinymce/classes/Formatter.js +2378 -0
- data/apps/core/components/public/js/tinymce/classes/LegacyInput.js +82 -0
- data/apps/core/components/public/js/tinymce/classes/Mode.js +54 -0
- data/apps/core/components/public/js/tinymce/classes/NodeChange.js +154 -0
- data/apps/core/components/public/js/tinymce/classes/NotificationManager.js +156 -0
- data/apps/core/components/public/js/tinymce/classes/Register.js +34 -0
- data/apps/core/components/public/js/tinymce/classes/SelectionOverrides.js +810 -0
- data/apps/core/components/public/js/tinymce/classes/Shortcuts.js +172 -0
- data/apps/core/components/public/js/tinymce/classes/UndoManager.js +346 -0
- data/apps/core/components/public/js/tinymce/classes/WindowManager.js +278 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretBookmark.js +263 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretCandidate.js +86 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretContainer.js +151 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretPosition.js +371 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretUtils.js +302 -0
- data/apps/core/components/public/js/tinymce/classes/caret/CaretWalker.js +215 -0
- data/apps/core/components/public/js/tinymce/classes/caret/FakeCaret.js +192 -0
- data/apps/core/components/public/js/tinymce/classes/caret/LineUtils.js +135 -0
- data/apps/core/components/public/js/tinymce/classes/caret/LineWalker.js +166 -0
- data/apps/core/components/public/js/tinymce/classes/data/Binding.js +79 -0
- data/apps/core/components/public/js/tinymce/classes/data/ObservableArray.js +196 -0
- data/apps/core/components/public/js/tinymce/classes/data/ObservableObject.js +194 -0
- data/apps/core/components/public/js/tinymce/classes/dom/BookmarkManager.js +456 -0
- data/apps/core/components/public/js/tinymce/classes/dom/ControlSelection.js +634 -0
- data/apps/core/components/public/js/tinymce/classes/dom/DOMUtils.js +1853 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Dimensions.js +64 -0
- data/apps/core/components/public/js/tinymce/classes/dom/DomQuery.js +1578 -0
- data/apps/core/components/public/js/tinymce/classes/dom/ElementUtils.js +118 -0
- data/apps/core/components/public/js/tinymce/classes/dom/EventUtils.js +583 -0
- data/apps/core/components/public/js/tinymce/classes/dom/NodePath.js +50 -0
- data/apps/core/components/public/js/tinymce/classes/dom/NodeType.js +110 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Range.js +785 -0
- data/apps/core/components/public/js/tinymce/classes/dom/RangeUtils.js +628 -0
- data/apps/core/components/public/js/tinymce/classes/dom/ScriptLoader.js +254 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Selection.js +1008 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Serializer.js +506 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Sizzle.jQuery.js +23 -0
- data/apps/core/components/public/js/tinymce/classes/dom/Sizzle.js +2039 -0
- data/apps/core/components/public/js/tinymce/classes/dom/StyleSheetLoader.js +190 -0
- data/apps/core/components/public/js/tinymce/classes/dom/TreeWalker.js +127 -0
- data/apps/core/components/public/js/tinymce/classes/dom/TridentSelection.js +508 -0
- data/apps/core/components/public/js/tinymce/classes/file/BlobCache.js +72 -0
- data/apps/core/components/public/js/tinymce/classes/file/Conversions.js +106 -0
- data/apps/core/components/public/js/tinymce/classes/file/ImageScanner.js +145 -0
- data/apps/core/components/public/js/tinymce/classes/file/Uploader.js +193 -0
- data/apps/core/components/public/js/tinymce/classes/fmt/Hooks.js +66 -0
- data/apps/core/components/public/js/tinymce/classes/fmt/Preview.js +151 -0
- data/apps/core/components/public/js/tinymce/classes/geom/ClientRect.js +136 -0
- data/apps/core/components/public/js/tinymce/classes/geom/Rect.js +214 -0
- data/apps/core/components/public/js/tinymce/classes/html/DomParser.js +822 -0
- data/apps/core/components/public/js/tinymce/classes/html/Entities.js +268 -0
- data/apps/core/components/public/js/tinymce/classes/html/Node.js +496 -0
- data/apps/core/components/public/js/tinymce/classes/html/SaxParser.js +474 -0
- data/apps/core/components/public/js/tinymce/classes/html/Schema.js +1004 -0
- data/apps/core/components/public/js/tinymce/classes/html/Serializer.js +158 -0
- data/apps/core/components/public/js/tinymce/classes/html/Styles.js +363 -0
- data/apps/core/components/public/js/tinymce/classes/html/Writer.js +199 -0
- data/apps/core/components/public/js/tinymce/classes/jquery.tinymce.js +377 -0
- data/apps/core/components/public/js/tinymce/classes/text/ExtendingChar.js +53 -0
- data/apps/core/components/public/js/tinymce/classes/text/Zwsp.js +36 -0
- data/apps/core/components/public/js/tinymce/classes/ui/AbsoluteLayout.js +63 -0
- data/apps/core/components/public/js/tinymce/classes/ui/BoxUtils.js +98 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Button.js +199 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ButtonGroup.js +62 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Checkbox.js +162 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ClassList.js +149 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Collection.js +438 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ColorBox.js +72 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ColorButton.js +124 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ColorPicker.js +206 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ComboBox.js +306 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Container.js +506 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Control.js +1301 -0
- data/apps/core/components/public/js/tinymce/classes/ui/DomUtils.js +107 -0
- data/apps/core/components/public/js/tinymce/classes/ui/DragHelper.js +144 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ElementPath.js +79 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Factory.js +105 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FieldSet.js +59 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FilePicker.js +85 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FitLayout.js +48 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FlexLayout.js +246 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FloatPanel.js +409 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FlowLayout.js +46 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Form.js +157 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FormItem.js +56 -0
- data/apps/core/components/public/js/tinymce/classes/ui/FormatControls.js +535 -0
- data/apps/core/components/public/js/tinymce/classes/ui/GridLayout.js +233 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Iframe.js +85 -0
- data/apps/core/components/public/js/tinymce/classes/ui/InfoBox.js +93 -0
- data/apps/core/components/public/js/tinymce/classes/ui/KeyboardNavigation.js +406 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Label.js +144 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Layout.js +120 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ListBox.js +152 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Menu.js +195 -0
- data/apps/core/components/public/js/tinymce/classes/ui/MenuBar.js +33 -0
- data/apps/core/components/public/js/tinymce/classes/ui/MenuButton.js +268 -0
- data/apps/core/components/public/js/tinymce/classes/ui/MenuItem.js +336 -0
- data/apps/core/components/public/js/tinymce/classes/ui/MessageBox.js +202 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Movable.js +200 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Notification.js +154 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Panel.js +67 -0
- data/apps/core/components/public/js/tinymce/classes/ui/PanelButton.js +114 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Path.js +127 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Progress.js +81 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Radio.js +29 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ReflowQueue.js +79 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Resizable.js +68 -0
- data/apps/core/components/public/js/tinymce/classes/ui/ResizeHandle.js +86 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Scrollable.js +141 -0
- data/apps/core/components/public/js/tinymce/classes/ui/SelectBox.js +106 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Selector.js +369 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Slider.js +161 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Spacer.js +39 -0
- data/apps/core/components/public/js/tinymce/classes/ui/SplitButton.js +146 -0
- data/apps/core/components/public/js/tinymce/classes/ui/StackLayout.js +34 -0
- data/apps/core/components/public/js/tinymce/classes/ui/TabPanel.js +178 -0
- data/apps/core/components/public/js/tinymce/classes/ui/TextBox.js +208 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Throbber.js +88 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Toolbar.js +56 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Tooltip.js +73 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Widget.js +151 -0
- data/apps/core/components/public/js/tinymce/classes/ui/Window.js +474 -0
- data/apps/core/components/public/js/tinymce/classes/util/Arr.js +153 -0
- data/apps/core/components/public/js/tinymce/classes/util/Class.js +167 -0
- data/apps/core/components/public/js/tinymce/classes/util/Color.js +235 -0
- data/apps/core/components/public/js/tinymce/classes/util/Delay.js +191 -0
- data/apps/core/components/public/js/tinymce/classes/util/EventDispatcher.js +294 -0
- data/apps/core/components/public/js/tinymce/classes/util/Fun.js +87 -0
- data/apps/core/components/public/js/tinymce/classes/util/I18n.js +116 -0
- data/apps/core/components/public/js/tinymce/classes/util/JSON.js +109 -0
- data/apps/core/components/public/js/tinymce/classes/util/JSONP.js +38 -0
- data/apps/core/components/public/js/tinymce/classes/util/JSONRequest.js +110 -0
- data/apps/core/components/public/js/tinymce/classes/util/LocalStorage.js +213 -0
- data/apps/core/components/public/js/tinymce/classes/util/Observable.js +129 -0
- data/apps/core/components/public/js/tinymce/classes/util/Promise.js +200 -0
- data/apps/core/components/public/js/tinymce/classes/util/Quirks.js +1701 -0
- data/apps/core/components/public/js/tinymce/classes/util/Tools.js +442 -0
- data/apps/core/components/public/js/tinymce/classes/util/URI.js +411 -0
- data/apps/core/components/public/js/tinymce/classes/util/VK.js +37 -0
- data/apps/core/components/public/js/tinymce/classes/util/XHR.js +110 -0
- data/apps/core/components/public/js/tinymce/jquery.tinymce.min.js +1 -0
- data/apps/core/components/public/js/tinymce/langs/it.js +219 -0
- data/apps/core/components/public/js/tinymce/langs/readme.md +3 -0
- data/apps/core/components/public/js/tinymce/license.txt +504 -0
- data/apps/core/components/public/js/tinymce/plugins/advlist/plugin.js +97 -0
- data/apps/core/components/public/js/tinymce/plugins/advlist/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/anchor/plugin.js +55 -0
- data/apps/core/components/public/js/tinymce/plugins/anchor/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/autolink/plugin.js +204 -0
- data/apps/core/components/public/js/tinymce/plugins/autolink/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/autoresize/plugin.js +162 -0
- data/apps/core/components/public/js/tinymce/plugins/autoresize/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/autosave/plugin.js +165 -0
- data/apps/core/components/public/js/tinymce/plugins/autosave/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/bbcode/plugin.js +123 -0
- data/apps/core/components/public/js/tinymce/plugins/bbcode/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/charmap/plugin.js +450 -0
- data/apps/core/components/public/js/tinymce/plugins/charmap/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/code/plugin.js +60 -0
- data/apps/core/components/public/js/tinymce/plugins/code/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/classes/Dialog.js +121 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/classes/Plugin.js +95 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/classes/Prism.js +937 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/classes/Utils.js +33 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/css/prism.css +138 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/plugin.dev.js +141 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/plugin.js +1299 -0
- data/apps/core/components/public/js/tinymce/plugins/codesample/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/colorpicker/plugin.js +112 -0
- data/apps/core/components/public/js/tinymce/plugins/colorpicker/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/css/dialog.css +118 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/buttons.png +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/icons.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/items.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/menu_arrow.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/menu_check.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/progress.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/img/tabs.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/plugin.js +297 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/tiny_mce_popup.js +542 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/utils/editable_selects.js +70 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/utils/form_utils.js +210 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/utils/mctabs.js +164 -0
- data/apps/core/components/public/js/tinymce/plugins/compat3x/utils/validate.js +252 -0
- data/apps/core/components/public/js/tinymce/plugins/contextmenu/plugin.js +88 -0
- data/apps/core/components/public/js/tinymce/plugins/contextmenu/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/directionality/plugin.js +64 -0
- data/apps/core/components/public/js/tinymce/plugins/directionality/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/plugin.js +65 -0
- data/apps/core/components/public/js/tinymce/plugins/emoticons/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/example/dialog.html +8 -0
- data/apps/core/components/public/js/tinymce/plugins/example/plugin.js +68 -0
- data/apps/core/components/public/js/tinymce/plugins/example/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/example_dependency/plugin.js +22 -0
- data/apps/core/components/public/js/tinymce/plugins/example_dependency/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/fullpage/plugin.js +490 -0
- data/apps/core/components/public/js/tinymce/plugins/fullpage/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/fullscreen/plugin.js +154 -0
- data/apps/core/components/public/js/tinymce/plugins/fullscreen/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/hr/plugin.js +30 -0
- data/apps/core/components/public/js/tinymce/plugins/hr/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/image/plugin.js +630 -0
- data/apps/core/components/public/js/tinymce/plugins/image/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/config/bolt/atomic.js +6 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/config/bolt/browser.js +6 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/config/bolt/demo.js +8 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/config/bolt/prod.js +6 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/plugin.js +2668 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/demo/html/demo.html +16 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/demo/js/Demo.js +92 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/main/js/CropRect.js +214 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/main/js/Dialog.js +485 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/main/js/ImagePanel.js +218 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/main/js/Plugin.js +411 -0
- data/apps/core/components/public/js/tinymce/plugins/imagetools/src/main/js/UndoStack.js +57 -0
- data/apps/core/components/public/js/tinymce/plugins/importcss/plugin.js +227 -0
- data/apps/core/components/public/js/tinymce/plugins/importcss/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/insertdatetime/plugin.js +121 -0
- data/apps/core/components/public/js/tinymce/plugins/insertdatetime/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/layer/plugin.js +225 -0
- data/apps/core/components/public/js/tinymce/plugins/layer/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/legacyoutput/plugin.js +211 -0
- data/apps/core/components/public/js/tinymce/plugins/legacyoutput/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/link/plugin.js +403 -0
- data/apps/core/components/public/js/tinymce/plugins/link/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/lists/plugin.js +885 -0
- data/apps/core/components/public/js/tinymce/plugins/lists/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/apps/core/components/public/js/tinymce/plugins/media/plugin.js +878 -0
- data/apps/core/components/public/js/tinymce/plugins/media/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/nonbreaking/plugin.js +53 -0
- data/apps/core/components/public/js/tinymce/plugins/nonbreaking/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/noneditable/plugin.js +101 -0
- data/apps/core/components/public/js/tinymce/plugins/noneditable/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/pagebreak/plugin.js +88 -0
- data/apps/core/components/public/js/tinymce/plugins/pagebreak/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/classes/Clipboard.js +672 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/classes/Plugin.js +121 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/classes/Quirks.js +159 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/classes/Utils.js +140 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/classes/WordFilter.js +500 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/plugin.dev.js +142 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/plugin.js +1708 -0
- data/apps/core/components/public/js/tinymce/plugins/paste/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/preview/plugin.js +88 -0
- data/apps/core/components/public/js/tinymce/plugins/preview/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/print/plugin.js +32 -0
- data/apps/core/components/public/js/tinymce/plugins/print/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/save/plugin.js +98 -0
- data/apps/core/components/public/js/tinymce/plugins/save/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/searchreplace/plugin.js +609 -0
- data/apps/core/components/public/js/tinymce/plugins/searchreplace/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/spellchecker/classes/DomTextMatcher.js +480 -0
- data/apps/core/components/public/js/tinymce/plugins/spellchecker/classes/Plugin.js +439 -0
- data/apps/core/components/public/js/tinymce/plugins/spellchecker/plugin.dev.js +139 -0
- data/apps/core/components/public/js/tinymce/plugins/spellchecker/plugin.js +1026 -0
- data/apps/core/components/public/js/tinymce/plugins/spellchecker/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/tabfocus/plugin.js +120 -0
- data/apps/core/components/public/js/tinymce/plugins/tabfocus/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/CellSelection.js +202 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/Dialogs.js +824 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/Plugin.js +599 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/Quirks.js +400 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/ResizeBars.js +984 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/TableGrid.js +941 -0
- data/apps/core/components/public/js/tinymce/plugins/table/classes/Utils.js +36 -0
- data/apps/core/components/public/js/tinymce/plugins/table/plugin.dev.js +142 -0
- data/apps/core/components/public/js/tinymce/plugins/table/plugin.js +4106 -0
- data/apps/core/components/public/js/tinymce/plugins/table/plugin.min.js +2 -0
- data/apps/core/components/public/js/tinymce/plugins/template/plugin.js +270 -0
- data/apps/core/components/public/js/tinymce/plugins/template/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/textcolor/plugin.js +282 -0
- data/apps/core/components/public/js/tinymce/plugins/textcolor/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/textpattern/plugin.js +268 -0
- data/apps/core/components/public/js/tinymce/plugins/textpattern/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/css/visualblocks.css +135 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/address.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/article.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/aside.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/blockquote.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/div.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/dl.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/figure.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h1.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h2.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h3.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h4.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h5.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/h6.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/hgroup.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/ol.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/p.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/pre.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/section.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/img/ul.gif +0 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/plugin.js +86 -0
- data/apps/core/components/public/js/tinymce/plugins/visualblocks/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/visualchars/plugin.js +123 -0
- data/apps/core/components/public/js/tinymce/plugins/visualchars/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/plugins/wordcount/plugin.js +69 -0
- data/apps/core/components/public/js/tinymce/plugins/wordcount/plugin.min.js +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/AbsoluteLayout.less +17 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Animations.less +10 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Button.less +172 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ButtonGroup.less +71 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Checkbox.less +49 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ColorBox.less +6 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ColorButton.less +72 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ColorPicker.less +80 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ComboBox.less +39 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Container.less +9 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Content.Inline.less +4 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Content.Objects.less +166 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Content.less +27 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/CropRect.less +54 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/FieldSet.less +15 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/FitLayout.less +9 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/FloatPanel.less +69 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/FlowLayout.less +36 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Icons.Ie7.less +136 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Icons.less +180 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Iframe.less +6 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ImagePanel.less +20 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/InfoBox.less +71 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Label.less +38 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ListBox.less +26 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Menu.less +34 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/MenuBar.less +32 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/MenuButton.less +34 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/MenuItem.less +142 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Mixins.less +54 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Notification.less +144 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Panel.less +7 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Path.less +45 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Progress.less +34 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Radio.less +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Reset.less +32 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ResizeHandle.less +18 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Scrollable.less +44 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/SelectBox.less +6 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Slider.less +29 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Spacer.less +5 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/SplitButton.less +49 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/StackLayout.less +5 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/TabPanel.less +44 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/TextBox.less +41 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Throbber.less +19 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/TinyMCE.less +159 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/ToolTip.less +129 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Variables.less +214 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/Window.less +127 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/content.min.css +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/readme.md +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce-small.json +1277 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce-small.svg +63 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce.json +3381 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce.svg +129 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/img/object.gif +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/img/trans.gif +0 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.dev.less +46 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.ie7.dev.less +46 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.ie7.less +2542 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.less +2586 -0
- data/apps/core/components/public/js/tinymce/skins/lightgray/skin.min.css +1 -0
- data/apps/core/components/public/js/tinymce/themes/modern/theme.js +878 -0
- data/apps/core/components/public/js/tinymce/themes/modern/theme.min.js +1 -0
- data/apps/core/components/public/js/tinymce/tinymce.dev.js +286 -0
- data/apps/core/components/public/js/tinymce/tinymce.js +45811 -0
- data/apps/core/components/public/js/tinymce/tinymce.min.js +13 -0
- data/apps/core/forms/widgets/form/form.rb +3 -1
- data/apps/core/forms/widgets/form/form.shtml +1 -0
- data/apps/core/forms/widgets/inputs/search_select/search_select.rb +1 -1
- data/apps/core/forms/widgets/inputs/select/select.rb +1 -1
- data/apps/core/forms/widgets/inputs/select/select.shtml +0 -1
- data/apps/messenger/backends/sms/skebby.rb +1 -1
- data/apps/messenger/controllers/mixins/messenger_helper.rb +23 -5
- data/lib/spiderfw/config/options/spider.rb +1 -1
- data/lib/spiderfw/controller/mixins/visual.rb +2 -0
- data/lib/spiderfw/http/adapters/rack.rb +10 -5
- data/lib/spiderfw/http/http.rb +4 -2
- data/lib/spiderfw/model/base_model.rb +4 -4
- data/lib/spiderfw/model/mappers/db_mapper.rb +4 -2
- data/lib/spiderfw/model/storage/db/adapters/mysql.rb +2 -1
- data/lib/spiderfw/model/storage/db/db_storage.rb +4 -0
- data/lib/spiderfw/spider.rb +6 -0
- data/lib/spiderfw/templates/layout.rb +1 -1
- data/lib/spiderfw/utils/monkey/object.rb +3 -0
- data/spider.gemspec +6 -2
- metadata +539 -42
- data/blueprints/.DS_Store +0 -0
@@ -0,0 +1,599 @@
|
|
1
|
+
/**
|
2
|
+
* Plugin.js
|
3
|
+
*
|
4
|
+
* Released under LGPL License.
|
5
|
+
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
|
6
|
+
*
|
7
|
+
* License: http://www.tinymce.com/license
|
8
|
+
* Contributing: http://www.tinymce.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
/**
|
12
|
+
* This class contains all core logic for the table plugin.
|
13
|
+
*
|
14
|
+
* @class tinymce.tableplugin.Plugin
|
15
|
+
* @private
|
16
|
+
*/
|
17
|
+
define("tinymce/tableplugin/Plugin", [
|
18
|
+
"tinymce/tableplugin/TableGrid",
|
19
|
+
"tinymce/tableplugin/Quirks",
|
20
|
+
"tinymce/tableplugin/CellSelection",
|
21
|
+
"tinymce/tableplugin/Dialogs",
|
22
|
+
"tinymce/tableplugin/ResizeBars",
|
23
|
+
"tinymce/util/Tools",
|
24
|
+
"tinymce/dom/TreeWalker",
|
25
|
+
"tinymce/Env",
|
26
|
+
"tinymce/PluginManager"
|
27
|
+
], function(TableGrid, Quirks, CellSelection, Dialogs, ResizeBars, Tools, TreeWalker, Env, PluginManager) {
|
28
|
+
var each = Tools.each;
|
29
|
+
|
30
|
+
function Plugin(editor) {
|
31
|
+
var clipboardRows, self = this, dialogs = new Dialogs(editor), resizeBars;
|
32
|
+
|
33
|
+
if (editor.settings.object_resizing && editor.settings.table_resize_bars !== false &&
|
34
|
+
(editor.settings.object_resizing === true || editor.settings.object_resizing === 'table')) {
|
35
|
+
resizeBars = ResizeBars(editor);
|
36
|
+
}
|
37
|
+
|
38
|
+
function cmd(command) {
|
39
|
+
return function() {
|
40
|
+
editor.execCommand(command);
|
41
|
+
};
|
42
|
+
}
|
43
|
+
|
44
|
+
function insertTable(cols, rows) {
|
45
|
+
var y, x, html, tableElm;
|
46
|
+
|
47
|
+
html = '<table id="__mce"><tbody>';
|
48
|
+
|
49
|
+
for (y = 0; y < rows; y++) {
|
50
|
+
html += '<tr>';
|
51
|
+
|
52
|
+
for (x = 0; x < cols; x++) {
|
53
|
+
html += '<td>' + (Env.ie && Env.ie < 10 ? ' ' : '<br>') + '</td>';
|
54
|
+
}
|
55
|
+
|
56
|
+
html += '</tr>';
|
57
|
+
}
|
58
|
+
|
59
|
+
html += '</tbody></table>';
|
60
|
+
|
61
|
+
editor.undoManager.transact(function() {
|
62
|
+
editor.insertContent(html);
|
63
|
+
|
64
|
+
tableElm = editor.dom.get('__mce');
|
65
|
+
editor.dom.setAttrib(tableElm, 'id', null);
|
66
|
+
|
67
|
+
editor.$('tr', tableElm).each(function(index, row) {
|
68
|
+
editor.fire('newrow', {
|
69
|
+
node: row
|
70
|
+
});
|
71
|
+
|
72
|
+
editor.$('th,td', row).each(function(index, cell) {
|
73
|
+
editor.fire('newcell', {
|
74
|
+
node: cell
|
75
|
+
});
|
76
|
+
});
|
77
|
+
});
|
78
|
+
|
79
|
+
editor.dom.setAttribs(tableElm, editor.settings.table_default_attributes || {});
|
80
|
+
editor.dom.setStyles(tableElm, editor.settings.table_default_styles || {});
|
81
|
+
});
|
82
|
+
|
83
|
+
return tableElm;
|
84
|
+
}
|
85
|
+
|
86
|
+
function handleDisabledState(ctrl, selector, sameParts) {
|
87
|
+
function bindStateListener() {
|
88
|
+
var selectedElm, selectedCells, parts = {}, sum = 0, state;
|
89
|
+
|
90
|
+
selectedCells = editor.dom.select('td[data-mce-selected],th[data-mce-selected]');
|
91
|
+
selectedElm = selectedCells[0];
|
92
|
+
if (!selectedElm) {
|
93
|
+
selectedElm = editor.selection.getStart();
|
94
|
+
}
|
95
|
+
|
96
|
+
// Make sure that we don't have a selection inside thead and tbody at the same time
|
97
|
+
if (sameParts && selectedCells.length > 0) {
|
98
|
+
each(selectedCells, function(cell) {
|
99
|
+
return parts[cell.parentNode.parentNode.nodeName] = 1;
|
100
|
+
});
|
101
|
+
|
102
|
+
each(parts, function(value) {
|
103
|
+
sum += value;
|
104
|
+
});
|
105
|
+
|
106
|
+
state = sum !== 1;
|
107
|
+
} else {
|
108
|
+
state = !editor.dom.getParent(selectedElm, selector);
|
109
|
+
}
|
110
|
+
|
111
|
+
ctrl.disabled(state);
|
112
|
+
|
113
|
+
editor.selection.selectorChanged(selector, function(state) {
|
114
|
+
ctrl.disabled(!state);
|
115
|
+
});
|
116
|
+
}
|
117
|
+
|
118
|
+
if (editor.initialized) {
|
119
|
+
bindStateListener();
|
120
|
+
} else {
|
121
|
+
editor.on('init', bindStateListener);
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
function postRender() {
|
126
|
+
/*jshint validthis:true*/
|
127
|
+
handleDisabledState(this, 'table');
|
128
|
+
}
|
129
|
+
|
130
|
+
function postRenderCell() {
|
131
|
+
/*jshint validthis:true*/
|
132
|
+
handleDisabledState(this, 'td,th');
|
133
|
+
}
|
134
|
+
|
135
|
+
function postRenderMergeCell() {
|
136
|
+
/*jshint validthis:true*/
|
137
|
+
handleDisabledState(this, 'td,th', true);
|
138
|
+
}
|
139
|
+
|
140
|
+
function generateTableGrid() {
|
141
|
+
var html = '';
|
142
|
+
|
143
|
+
html = '<table role="grid" class="mce-grid mce-grid-border" aria-readonly="true">';
|
144
|
+
|
145
|
+
for (var y = 0; y < 10; y++) {
|
146
|
+
html += '<tr>';
|
147
|
+
|
148
|
+
for (var x = 0; x < 10; x++) {
|
149
|
+
html += '<td role="gridcell" tabindex="-1"><a id="mcegrid' + (y * 10 + x) + '" href="#" ' +
|
150
|
+
'data-mce-x="' + x + '" data-mce-y="' + y + '"></a></td>';
|
151
|
+
}
|
152
|
+
|
153
|
+
html += '</tr>';
|
154
|
+
}
|
155
|
+
|
156
|
+
html += '</table>';
|
157
|
+
|
158
|
+
html += '<div class="mce-text-center" role="presentation">1 x 1</div>';
|
159
|
+
|
160
|
+
return html;
|
161
|
+
}
|
162
|
+
|
163
|
+
function selectGrid(tx, ty, control) {
|
164
|
+
var table = control.getEl().getElementsByTagName('table')[0];
|
165
|
+
var x, y, focusCell, cell, active;
|
166
|
+
var rtl = control.isRtl() || control.parent().rel == 'tl-tr';
|
167
|
+
|
168
|
+
table.nextSibling.innerHTML = (tx + 1) + ' x ' + (ty + 1);
|
169
|
+
|
170
|
+
if (rtl) {
|
171
|
+
tx = 9 - tx;
|
172
|
+
}
|
173
|
+
|
174
|
+
for (y = 0; y < 10; y++) {
|
175
|
+
for (x = 0; x < 10; x++) {
|
176
|
+
cell = table.rows[y].childNodes[x].firstChild;
|
177
|
+
active = (rtl ? x >= tx : x <= tx) && y <= ty;
|
178
|
+
|
179
|
+
editor.dom.toggleClass(cell, 'mce-active', active);
|
180
|
+
|
181
|
+
if (active) {
|
182
|
+
focusCell = cell;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
return focusCell.parentNode;
|
188
|
+
}
|
189
|
+
|
190
|
+
if (editor.settings.table_grid === false) {
|
191
|
+
editor.addMenuItem('inserttable', {
|
192
|
+
text: 'Insert table',
|
193
|
+
icon: 'table',
|
194
|
+
context: 'table',
|
195
|
+
onclick: dialogs.table
|
196
|
+
});
|
197
|
+
} else {
|
198
|
+
editor.addMenuItem('inserttable', {
|
199
|
+
text: 'Insert table',
|
200
|
+
icon: 'table',
|
201
|
+
context: 'table',
|
202
|
+
ariaHideMenu: true,
|
203
|
+
onclick: function(e) {
|
204
|
+
if (e.aria) {
|
205
|
+
this.parent().hideAll();
|
206
|
+
e.stopImmediatePropagation();
|
207
|
+
dialogs.table();
|
208
|
+
}
|
209
|
+
},
|
210
|
+
onshow: function() {
|
211
|
+
selectGrid(0, 0, this.menu.items()[0]);
|
212
|
+
},
|
213
|
+
onhide: function() {
|
214
|
+
var elements = this.menu.items()[0].getEl().getElementsByTagName('a');
|
215
|
+
editor.dom.removeClass(elements, 'mce-active');
|
216
|
+
editor.dom.addClass(elements[0], 'mce-active');
|
217
|
+
},
|
218
|
+
menu: [
|
219
|
+
{
|
220
|
+
type: 'container',
|
221
|
+
html: generateTableGrid(),
|
222
|
+
|
223
|
+
onPostRender: function() {
|
224
|
+
this.lastX = this.lastY = 0;
|
225
|
+
},
|
226
|
+
|
227
|
+
onmousemove: function(e) {
|
228
|
+
var target = e.target, x, y;
|
229
|
+
|
230
|
+
if (target.tagName.toUpperCase() == 'A') {
|
231
|
+
x = parseInt(target.getAttribute('data-mce-x'), 10);
|
232
|
+
y = parseInt(target.getAttribute('data-mce-y'), 10);
|
233
|
+
|
234
|
+
if (this.isRtl() || this.parent().rel == 'tl-tr') {
|
235
|
+
x = 9 - x;
|
236
|
+
}
|
237
|
+
|
238
|
+
if (x !== this.lastX || y !== this.lastY) {
|
239
|
+
selectGrid(x, y, e.control);
|
240
|
+
|
241
|
+
this.lastX = x;
|
242
|
+
this.lastY = y;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
},
|
246
|
+
|
247
|
+
onclick: function(e) {
|
248
|
+
var self = this;
|
249
|
+
|
250
|
+
if (e.target.tagName.toUpperCase() == 'A') {
|
251
|
+
e.preventDefault();
|
252
|
+
e.stopPropagation();
|
253
|
+
self.parent().cancel();
|
254
|
+
|
255
|
+
editor.undoManager.transact(function() {
|
256
|
+
insertTable(self.lastX + 1, self.lastY + 1);
|
257
|
+
});
|
258
|
+
|
259
|
+
editor.addVisual();
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
]
|
264
|
+
});
|
265
|
+
}
|
266
|
+
|
267
|
+
editor.addMenuItem('tableprops', {
|
268
|
+
text: 'Table properties',
|
269
|
+
context: 'table',
|
270
|
+
onPostRender: postRender,
|
271
|
+
onclick: dialogs.tableProps
|
272
|
+
});
|
273
|
+
|
274
|
+
editor.addMenuItem('deletetable', {
|
275
|
+
text: 'Delete table',
|
276
|
+
context: 'table',
|
277
|
+
onPostRender: postRender,
|
278
|
+
cmd: 'mceTableDelete'
|
279
|
+
});
|
280
|
+
|
281
|
+
editor.addMenuItem('cell', {
|
282
|
+
separator: 'before',
|
283
|
+
text: 'Cell',
|
284
|
+
context: 'table',
|
285
|
+
menu: [
|
286
|
+
{text: 'Cell properties', onclick: cmd('mceTableCellProps'), onPostRender: postRenderCell},
|
287
|
+
{text: 'Merge cells', onclick: cmd('mceTableMergeCells'), onPostRender: postRenderMergeCell},
|
288
|
+
{text: 'Split cell', onclick: cmd('mceTableSplitCells'), onPostRender: postRenderCell}
|
289
|
+
]
|
290
|
+
});
|
291
|
+
|
292
|
+
editor.addMenuItem('row', {
|
293
|
+
text: 'Row',
|
294
|
+
context: 'table',
|
295
|
+
menu: [
|
296
|
+
{text: 'Insert row before', onclick: cmd('mceTableInsertRowBefore'), onPostRender: postRenderCell},
|
297
|
+
{text: 'Insert row after', onclick: cmd('mceTableInsertRowAfter'), onPostRender: postRenderCell},
|
298
|
+
{text: 'Delete row', onclick: cmd('mceTableDeleteRow'), onPostRender: postRenderCell},
|
299
|
+
{text: 'Row properties', onclick: cmd('mceTableRowProps'), onPostRender: postRenderCell},
|
300
|
+
{text: '-'},
|
301
|
+
{text: 'Cut row', onclick: cmd('mceTableCutRow'), onPostRender: postRenderCell},
|
302
|
+
{text: 'Copy row', onclick: cmd('mceTableCopyRow'), onPostRender: postRenderCell},
|
303
|
+
{text: 'Paste row before', onclick: cmd('mceTablePasteRowBefore'), onPostRender: postRenderCell},
|
304
|
+
{text: 'Paste row after', onclick: cmd('mceTablePasteRowAfter'), onPostRender: postRenderCell}
|
305
|
+
]
|
306
|
+
});
|
307
|
+
|
308
|
+
editor.addMenuItem('column', {
|
309
|
+
text: 'Column',
|
310
|
+
context: 'table',
|
311
|
+
menu: [
|
312
|
+
{text: 'Insert column before', onclick: cmd('mceTableInsertColBefore'), onPostRender: postRenderCell},
|
313
|
+
{text: 'Insert column after', onclick: cmd('mceTableInsertColAfter'), onPostRender: postRenderCell},
|
314
|
+
{text: 'Delete column', onclick: cmd('mceTableDeleteCol'), onPostRender: postRenderCell}
|
315
|
+
]
|
316
|
+
});
|
317
|
+
|
318
|
+
var menuItems = [];
|
319
|
+
each("inserttable tableprops deletetable | cell row column".split(' '), function(name) {
|
320
|
+
if (name == '|') {
|
321
|
+
menuItems.push({text: '-'});
|
322
|
+
} else {
|
323
|
+
menuItems.push(editor.menuItems[name]);
|
324
|
+
}
|
325
|
+
});
|
326
|
+
|
327
|
+
editor.addButton("table", {
|
328
|
+
type: "menubutton",
|
329
|
+
title: "Table",
|
330
|
+
menu: menuItems
|
331
|
+
});
|
332
|
+
|
333
|
+
// Select whole table is a table border is clicked
|
334
|
+
if (!Env.isIE) {
|
335
|
+
editor.on('click', function(e) {
|
336
|
+
e = e.target;
|
337
|
+
|
338
|
+
if (e.nodeName === 'TABLE') {
|
339
|
+
editor.selection.select(e);
|
340
|
+
editor.nodeChanged();
|
341
|
+
}
|
342
|
+
});
|
343
|
+
}
|
344
|
+
|
345
|
+
self.quirks = new Quirks(editor);
|
346
|
+
|
347
|
+
editor.on('Init', function() {
|
348
|
+
self.cellSelection = new CellSelection(editor);
|
349
|
+
self.resizeBars = resizeBars;
|
350
|
+
});
|
351
|
+
|
352
|
+
editor.on('PreInit', function() {
|
353
|
+
// Remove internal data attributes
|
354
|
+
editor.serializer.addAttributeFilter(
|
355
|
+
'data-mce-cell-padding,data-mce-border,data-mce-border-color',
|
356
|
+
function(nodes, name) {
|
357
|
+
|
358
|
+
var i = nodes.length;
|
359
|
+
|
360
|
+
while (i--) {
|
361
|
+
nodes[i].attr(name, null);
|
362
|
+
}
|
363
|
+
});
|
364
|
+
});
|
365
|
+
|
366
|
+
// Register action commands
|
367
|
+
each({
|
368
|
+
mceTableSplitCells: function(grid) {
|
369
|
+
grid.split();
|
370
|
+
},
|
371
|
+
|
372
|
+
mceTableMergeCells: function(grid) {
|
373
|
+
var cell;
|
374
|
+
|
375
|
+
cell = editor.dom.getParent(editor.selection.getStart(), 'th,td');
|
376
|
+
|
377
|
+
if (!editor.dom.select('td[data-mce-selected],th[data-mce-selected]').length) {
|
378
|
+
dialogs.merge(grid, cell);
|
379
|
+
} else {
|
380
|
+
grid.merge();
|
381
|
+
}
|
382
|
+
},
|
383
|
+
|
384
|
+
mceTableInsertRowBefore: function(grid) {
|
385
|
+
grid.insertRow(true);
|
386
|
+
},
|
387
|
+
|
388
|
+
mceTableInsertRowAfter: function(grid) {
|
389
|
+
grid.insertRow();
|
390
|
+
},
|
391
|
+
|
392
|
+
mceTableInsertColBefore: function(grid) {
|
393
|
+
grid.insertCol(true);
|
394
|
+
},
|
395
|
+
|
396
|
+
mceTableInsertColAfter: function(grid) {
|
397
|
+
grid.insertCol();
|
398
|
+
},
|
399
|
+
|
400
|
+
mceTableDeleteCol: function(grid) {
|
401
|
+
grid.deleteCols();
|
402
|
+
},
|
403
|
+
|
404
|
+
mceTableDeleteRow: function(grid) {
|
405
|
+
grid.deleteRows();
|
406
|
+
},
|
407
|
+
|
408
|
+
mceTableCutRow: function(grid) {
|
409
|
+
clipboardRows = grid.cutRows();
|
410
|
+
},
|
411
|
+
|
412
|
+
mceTableCopyRow: function(grid) {
|
413
|
+
clipboardRows = grid.copyRows();
|
414
|
+
},
|
415
|
+
|
416
|
+
mceTablePasteRowBefore: function(grid) {
|
417
|
+
grid.pasteRows(clipboardRows, true);
|
418
|
+
},
|
419
|
+
|
420
|
+
mceTablePasteRowAfter: function(grid) {
|
421
|
+
grid.pasteRows(clipboardRows);
|
422
|
+
},
|
423
|
+
|
424
|
+
mceTableDelete: function(grid) {
|
425
|
+
if (resizeBars) {
|
426
|
+
resizeBars.clearBars();
|
427
|
+
}
|
428
|
+
grid.deleteTable();
|
429
|
+
}
|
430
|
+
}, function(func, name) {
|
431
|
+
editor.addCommand(name, function() {
|
432
|
+
var grid = new TableGrid(editor);
|
433
|
+
|
434
|
+
if (grid) {
|
435
|
+
func(grid);
|
436
|
+
editor.execCommand('mceRepaint');
|
437
|
+
self.cellSelection.clear();
|
438
|
+
}
|
439
|
+
});
|
440
|
+
});
|
441
|
+
|
442
|
+
// Register dialog commands
|
443
|
+
each({
|
444
|
+
mceInsertTable: dialogs.table,
|
445
|
+
mceTableProps: function() {
|
446
|
+
dialogs.table(true);
|
447
|
+
},
|
448
|
+
mceTableRowProps: dialogs.row,
|
449
|
+
mceTableCellProps: dialogs.cell
|
450
|
+
}, function(func, name) {
|
451
|
+
editor.addCommand(name, function(ui, val) {
|
452
|
+
func(val);
|
453
|
+
});
|
454
|
+
});
|
455
|
+
|
456
|
+
function addButtons() {
|
457
|
+
editor.addButton('tableprops', {
|
458
|
+
title: 'Table properties',
|
459
|
+
onclick: dialogs.tableProps,
|
460
|
+
icon: 'table'
|
461
|
+
});
|
462
|
+
|
463
|
+
editor.addButton('tabledelete', {
|
464
|
+
title: 'Delete table',
|
465
|
+
onclick: cmd('mceTableDelete')
|
466
|
+
});
|
467
|
+
|
468
|
+
editor.addButton('tablecellprops', {
|
469
|
+
title: 'Cell properties',
|
470
|
+
onclick: cmd('mceTableCellProps')
|
471
|
+
});
|
472
|
+
|
473
|
+
editor.addButton('tablemergecells', {
|
474
|
+
title: 'Merge cells',
|
475
|
+
onclick: cmd('mceTableMergeCells')
|
476
|
+
});
|
477
|
+
|
478
|
+
editor.addButton('tablesplitcells', {
|
479
|
+
title: 'Split cell',
|
480
|
+
onclick: cmd('mceTableSplitCells')
|
481
|
+
});
|
482
|
+
|
483
|
+
editor.addButton('tableinsertrowbefore', {
|
484
|
+
title: 'Insert row before',
|
485
|
+
onclick: cmd('mceTableInsertRowBefore')
|
486
|
+
});
|
487
|
+
|
488
|
+
editor.addButton('tableinsertrowafter', {
|
489
|
+
title: 'Insert row after',
|
490
|
+
onclick: cmd('mceTableInsertRowAfter')
|
491
|
+
});
|
492
|
+
|
493
|
+
editor.addButton('tabledeleterow', {
|
494
|
+
title: 'Delete row',
|
495
|
+
onclick: cmd('mceTableDeleteRow')
|
496
|
+
});
|
497
|
+
|
498
|
+
editor.addButton('tablerowprops', {
|
499
|
+
title: 'Row properties',
|
500
|
+
onclick: cmd('mceTableRowProps')
|
501
|
+
});
|
502
|
+
|
503
|
+
editor.addButton('tablecutrow', {
|
504
|
+
title: 'Cut row',
|
505
|
+
onclick: cmd('mceTableCutRow')
|
506
|
+
});
|
507
|
+
|
508
|
+
editor.addButton('tablecopyrow', {
|
509
|
+
title: 'Copy row',
|
510
|
+
onclick: cmd('mceTableCopyRow')
|
511
|
+
});
|
512
|
+
|
513
|
+
editor.addButton('tablepasterowbefore', {
|
514
|
+
title: 'Paste row before',
|
515
|
+
onclick: cmd('mceTablePasteRowBefore')
|
516
|
+
});
|
517
|
+
|
518
|
+
editor.addButton('tablepasterowafter', {
|
519
|
+
title: 'Paste row after',
|
520
|
+
onclick: cmd('mceTablePasteRowAfter')
|
521
|
+
});
|
522
|
+
|
523
|
+
editor.addButton('tableinsertcolbefore', {
|
524
|
+
title: 'Insert column before',
|
525
|
+
onclick: cmd('mceTableInsertColBefore')
|
526
|
+
});
|
527
|
+
|
528
|
+
editor.addButton('tableinsertcolafter', {
|
529
|
+
title: 'Insert column after',
|
530
|
+
onclick: cmd('mceTableInsertColAfter')
|
531
|
+
});
|
532
|
+
|
533
|
+
editor.addButton('tabledeletecol', {
|
534
|
+
title: 'Delete column',
|
535
|
+
onclick: cmd('mceTableDeleteCol')
|
536
|
+
});
|
537
|
+
|
538
|
+
}
|
539
|
+
|
540
|
+
function isTable(table) {
|
541
|
+
|
542
|
+
var selectorMatched = editor.dom.is(table, 'table') && editor.getBody().contains(table);
|
543
|
+
|
544
|
+
return selectorMatched;
|
545
|
+
}
|
546
|
+
|
547
|
+
function addToolbars() {
|
548
|
+
var toolbarItems = editor.settings.table_toolbar;
|
549
|
+
|
550
|
+
if (toolbarItems === '' || toolbarItems === false) {
|
551
|
+
return;
|
552
|
+
}
|
553
|
+
|
554
|
+
if (!toolbarItems) {
|
555
|
+
toolbarItems = 'tableprops tabledelete | ' +
|
556
|
+
'tableinsertrowbefore tableinsertrowafter tabledeleterow | ' +
|
557
|
+
'tableinsertcolbefore tableinsertcolafter tabledeletecol';
|
558
|
+
}
|
559
|
+
|
560
|
+
editor.addContextToolbar(
|
561
|
+
isTable,
|
562
|
+
toolbarItems
|
563
|
+
);
|
564
|
+
}
|
565
|
+
|
566
|
+
addButtons();
|
567
|
+
addToolbars();
|
568
|
+
|
569
|
+
// Enable tab key cell navigation
|
570
|
+
if (editor.settings.table_tab_navigation !== false) {
|
571
|
+
editor.on('keydown', function(e) {
|
572
|
+
var cellElm, grid, delta;
|
573
|
+
|
574
|
+
if (e.keyCode == 9) {
|
575
|
+
cellElm = editor.dom.getParent(editor.selection.getStart(), 'th,td');
|
576
|
+
|
577
|
+
if (cellElm) {
|
578
|
+
e.preventDefault();
|
579
|
+
|
580
|
+
grid = new TableGrid(editor);
|
581
|
+
delta = e.shiftKey ? -1 : 1;
|
582
|
+
|
583
|
+
editor.undoManager.transact(function() {
|
584
|
+
if (!grid.moveRelIdx(cellElm, delta) && delta > 0) {
|
585
|
+
grid.insertRow();
|
586
|
+
grid.refresh();
|
587
|
+
grid.moveRelIdx(cellElm, delta);
|
588
|
+
}
|
589
|
+
});
|
590
|
+
}
|
591
|
+
}
|
592
|
+
});
|
593
|
+
}
|
594
|
+
|
595
|
+
self.insertTable = insertTable;
|
596
|
+
}
|
597
|
+
|
598
|
+
PluginManager.add('table', Plugin);
|
599
|
+
});
|