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
data/apps/core/components/public/js/jquery/jquery-ui-1.9.2/ui/i18n/jquery.ui.datepicker-it-min.js
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
/* Italian initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
|
3
|
+
jQuery(function($){$.datepicker.regional['it']={closeText:'Chiudi', prevText:'<Prec',nextText:'Succ>',currentText:'Oggi',monthNames:['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],monthNamesShort:['Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic'],dayNames:['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],dayNamesShort:['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],dayNamesMin:['Do','Lu','Ma','Me','Gi','Ve','Sa'],weekHeader:'Sm',dateFormat:'dd/mm/yy',firstDay:1,isRTL:false,showMonthAfterYear:false,yearSuffix:''};$.datepicker.setDefaults($.datepicker.regional['it']);
|
4
|
+
});
|
@@ -809,6 +809,10 @@ if(!String.prototype.trim) {
|
|
809
809
|
String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g, '');};
|
810
810
|
}
|
811
811
|
|
812
|
-
|
813
|
-
|
814
|
-
|
812
|
+
/* funzione per alzare il menu laterale se piu' alto di min-height */
|
813
|
+
if($("#spider-admin #container #sidebar #menu").length > 0){
|
814
|
+
var h_menu_sidebar_admin = $("#spider-admin #container #sidebar #menu").height();
|
815
|
+
if(h_menu_sidebar_admin > parseInt($("#spider-admin #container").css("min-height"))){
|
816
|
+
$("#spider-admin #container").css("min-height",(h_menu_sidebar_admin+30).toString() +"px");
|
817
|
+
}
|
818
|
+
}
|
@@ -0,0 +1,265 @@
|
|
1
|
+
/**
|
2
|
+
* AddOnManager.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 handles the loading of themes/plugins or other add-ons and their language packs.
|
13
|
+
*
|
14
|
+
* @class tinymce.AddOnManager
|
15
|
+
*/
|
16
|
+
define("tinymce/AddOnManager", [
|
17
|
+
"tinymce/dom/ScriptLoader",
|
18
|
+
"tinymce/util/Tools"
|
19
|
+
], function(ScriptLoader, Tools) {
|
20
|
+
var each = Tools.each;
|
21
|
+
|
22
|
+
function AddOnManager() {
|
23
|
+
var self = this;
|
24
|
+
|
25
|
+
self.items = [];
|
26
|
+
self.urls = {};
|
27
|
+
self.lookup = {};
|
28
|
+
}
|
29
|
+
|
30
|
+
AddOnManager.prototype = {
|
31
|
+
/**
|
32
|
+
* Returns the specified add on by the short name.
|
33
|
+
*
|
34
|
+
* @method get
|
35
|
+
* @param {String} name Add-on to look for.
|
36
|
+
* @return {tinymce.Theme/tinymce.Plugin} Theme or plugin add-on instance or undefined.
|
37
|
+
*/
|
38
|
+
get: function(name) {
|
39
|
+
if (this.lookup[name]) {
|
40
|
+
return this.lookup[name].instance;
|
41
|
+
}
|
42
|
+
|
43
|
+
return undefined;
|
44
|
+
},
|
45
|
+
|
46
|
+
dependencies: function(name) {
|
47
|
+
var result;
|
48
|
+
|
49
|
+
if (this.lookup[name]) {
|
50
|
+
result = this.lookup[name].dependencies;
|
51
|
+
}
|
52
|
+
|
53
|
+
return result || [];
|
54
|
+
},
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Loads a language pack for the specified add-on.
|
58
|
+
*
|
59
|
+
* @method requireLangPack
|
60
|
+
* @param {String} name Short name of the add-on.
|
61
|
+
* @param {String} languages Optional comma or space separated list of languages to check if it matches the name.
|
62
|
+
*/
|
63
|
+
requireLangPack: function(name, languages) {
|
64
|
+
var language = AddOnManager.language;
|
65
|
+
|
66
|
+
if (language && AddOnManager.languageLoad !== false) {
|
67
|
+
if (languages) {
|
68
|
+
languages = ',' + languages + ',';
|
69
|
+
|
70
|
+
// Load short form sv.js or long form sv_SE.js
|
71
|
+
if (languages.indexOf(',' + language.substr(0, 2) + ',') != -1) {
|
72
|
+
language = language.substr(0, 2);
|
73
|
+
} else if (languages.indexOf(',' + language + ',') == -1) {
|
74
|
+
return;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
ScriptLoader.ScriptLoader.add(this.urls[name] + '/langs/' + language + '.js');
|
79
|
+
}
|
80
|
+
},
|
81
|
+
|
82
|
+
/**
|
83
|
+
* Adds a instance of the add-on by it's short name.
|
84
|
+
*
|
85
|
+
* @method add
|
86
|
+
* @param {String} id Short name/id for the add-on.
|
87
|
+
* @param {tinymce.Theme/tinymce.Plugin} addOn Theme or plugin to add.
|
88
|
+
* @return {tinymce.Theme/tinymce.Plugin} The same theme or plugin instance that got passed in.
|
89
|
+
* @example
|
90
|
+
* // Create a simple plugin
|
91
|
+
* tinymce.create('tinymce.plugins.TestPlugin', {
|
92
|
+
* TestPlugin: function(ed, url) {
|
93
|
+
* ed.on('click', function(e) {
|
94
|
+
* ed.windowManager.alert('Hello World!');
|
95
|
+
* });
|
96
|
+
* }
|
97
|
+
* });
|
98
|
+
*
|
99
|
+
* // Register plugin using the add method
|
100
|
+
* tinymce.PluginManager.add('test', tinymce.plugins.TestPlugin);
|
101
|
+
*
|
102
|
+
* // Initialize TinyMCE
|
103
|
+
* tinymce.init({
|
104
|
+
* ...
|
105
|
+
* plugins: '-test' // Init the plugin but don't try to load it
|
106
|
+
* });
|
107
|
+
*/
|
108
|
+
add: function(id, addOn, dependencies) {
|
109
|
+
this.items.push(addOn);
|
110
|
+
this.lookup[id] = {instance: addOn, dependencies: dependencies};
|
111
|
+
|
112
|
+
return addOn;
|
113
|
+
},
|
114
|
+
|
115
|
+
createUrl: function(baseUrl, dep) {
|
116
|
+
if (typeof dep === "object") {
|
117
|
+
return dep;
|
118
|
+
}
|
119
|
+
|
120
|
+
return {prefix: baseUrl.prefix, resource: dep, suffix: baseUrl.suffix};
|
121
|
+
},
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Add a set of components that will make up the add-on. Using the url of the add-on name as the base url.
|
125
|
+
* This should be used in development mode. A new compressor/javascript munger process will ensure that the
|
126
|
+
* components are put together into the plugin.js file and compressed correctly.
|
127
|
+
*
|
128
|
+
* @method addComponents
|
129
|
+
* @param {String} pluginName name of the plugin to load scripts from (will be used to get the base url for the plugins).
|
130
|
+
* @param {Array} scripts Array containing the names of the scripts to load.
|
131
|
+
*/
|
132
|
+
addComponents: function(pluginName, scripts) {
|
133
|
+
var pluginUrl = this.urls[pluginName];
|
134
|
+
|
135
|
+
each(scripts, function(script) {
|
136
|
+
ScriptLoader.ScriptLoader.add(pluginUrl + "/" + script);
|
137
|
+
});
|
138
|
+
},
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Loads an add-on from a specific url.
|
142
|
+
*
|
143
|
+
* @method load
|
144
|
+
* @param {String} name Short name of the add-on that gets loaded.
|
145
|
+
* @param {String} addOnUrl URL to the add-on that will get loaded.
|
146
|
+
* @param {function} callback Optional callback to execute ones the add-on is loaded.
|
147
|
+
* @param {Object} scope Optional scope to execute the callback in.
|
148
|
+
* @example
|
149
|
+
* // Loads a plugin from an external URL
|
150
|
+
* tinymce.PluginManager.load('myplugin', '/some/dir/someplugin/plugin.js');
|
151
|
+
*
|
152
|
+
* // Initialize TinyMCE
|
153
|
+
* tinymce.init({
|
154
|
+
* ...
|
155
|
+
* plugins: '-myplugin' // Don't try to load it again
|
156
|
+
* });
|
157
|
+
*/
|
158
|
+
load: function(name, addOnUrl, callback, scope) {
|
159
|
+
var self = this, url = addOnUrl;
|
160
|
+
|
161
|
+
function loadDependencies() {
|
162
|
+
var dependencies = self.dependencies(name);
|
163
|
+
|
164
|
+
each(dependencies, function(dep) {
|
165
|
+
var newUrl = self.createUrl(addOnUrl, dep);
|
166
|
+
|
167
|
+
self.load(newUrl.resource, newUrl, undefined, undefined);
|
168
|
+
});
|
169
|
+
|
170
|
+
if (callback) {
|
171
|
+
if (scope) {
|
172
|
+
callback.call(scope);
|
173
|
+
} else {
|
174
|
+
callback.call(ScriptLoader);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
if (self.urls[name]) {
|
180
|
+
return;
|
181
|
+
}
|
182
|
+
|
183
|
+
if (typeof addOnUrl === "object") {
|
184
|
+
url = addOnUrl.prefix + addOnUrl.resource + addOnUrl.suffix;
|
185
|
+
}
|
186
|
+
|
187
|
+
if (url.indexOf('/') !== 0 && url.indexOf('://') == -1) {
|
188
|
+
url = AddOnManager.baseURL + '/' + url;
|
189
|
+
}
|
190
|
+
|
191
|
+
self.urls[name] = url.substring(0, url.lastIndexOf('/'));
|
192
|
+
|
193
|
+
if (self.lookup[name]) {
|
194
|
+
loadDependencies();
|
195
|
+
} else {
|
196
|
+
ScriptLoader.ScriptLoader.add(url, loadDependencies, scope);
|
197
|
+
}
|
198
|
+
}
|
199
|
+
};
|
200
|
+
|
201
|
+
AddOnManager.PluginManager = new AddOnManager();
|
202
|
+
AddOnManager.ThemeManager = new AddOnManager();
|
203
|
+
|
204
|
+
return AddOnManager;
|
205
|
+
});
|
206
|
+
|
207
|
+
/**
|
208
|
+
* TinyMCE theme class.
|
209
|
+
*
|
210
|
+
* @class tinymce.Theme
|
211
|
+
*/
|
212
|
+
|
213
|
+
/**
|
214
|
+
* This method is responsible for rendering/generating the overall user interface with toolbars, buttons, iframe containers etc.
|
215
|
+
*
|
216
|
+
* @method renderUI
|
217
|
+
* @param {Object} obj Object parameter containing the targetNode DOM node that will be replaced visually with an editor instance.
|
218
|
+
* @return {Object} an object with items like iframeContainer, editorContainer, sizeContainer, deltaWidth, deltaHeight.
|
219
|
+
*/
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Plugin base class, this is a pseudo class that describes how a plugin is to be created for TinyMCE. The methods below are all optional.
|
223
|
+
*
|
224
|
+
* @class tinymce.Plugin
|
225
|
+
* @example
|
226
|
+
* tinymce.PluginManager.add('example', function(editor, url) {
|
227
|
+
* // Add a button that opens a window
|
228
|
+
* editor.addButton('example', {
|
229
|
+
* text: 'My button',
|
230
|
+
* icon: false,
|
231
|
+
* onclick: function() {
|
232
|
+
* // Open window
|
233
|
+
* editor.windowManager.open({
|
234
|
+
* title: 'Example plugin',
|
235
|
+
* body: [
|
236
|
+
* {type: 'textbox', name: 'title', label: 'Title'}
|
237
|
+
* ],
|
238
|
+
* onsubmit: function(e) {
|
239
|
+
* // Insert content when the window form is submitted
|
240
|
+
* editor.insertContent('Title: ' + e.data.title);
|
241
|
+
* }
|
242
|
+
* });
|
243
|
+
* }
|
244
|
+
* });
|
245
|
+
*
|
246
|
+
* // Adds a menu item to the tools menu
|
247
|
+
* editor.addMenuItem('example', {
|
248
|
+
* text: 'Example plugin',
|
249
|
+
* context: 'tools',
|
250
|
+
* onclick: function() {
|
251
|
+
* // Open window with a specific url
|
252
|
+
* editor.windowManager.open({
|
253
|
+
* title: 'TinyMCE site',
|
254
|
+
* url: 'http://www.tinymce.com',
|
255
|
+
* width: 800,
|
256
|
+
* height: 600,
|
257
|
+
* buttons: [{
|
258
|
+
* text: 'Close',
|
259
|
+
* onclick: 'close'
|
260
|
+
* }]
|
261
|
+
* });
|
262
|
+
* }
|
263
|
+
* });
|
264
|
+
* });
|
265
|
+
*/
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/**
|
2
|
+
* Compat.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
|
+
* TinyMCE core class.
|
13
|
+
*
|
14
|
+
* @static
|
15
|
+
* @class tinymce
|
16
|
+
* @borrow-members tinymce.EditorManager
|
17
|
+
* @borrow-members tinymce.util.Tools
|
18
|
+
*/
|
19
|
+
define("tinymce/Compat", [
|
20
|
+
"tinymce/dom/DOMUtils",
|
21
|
+
"tinymce/dom/EventUtils",
|
22
|
+
"tinymce/dom/ScriptLoader",
|
23
|
+
"tinymce/AddOnManager",
|
24
|
+
"tinymce/util/Tools",
|
25
|
+
"tinymce/Env"
|
26
|
+
], function(DOMUtils, EventUtils, ScriptLoader, AddOnManager, Tools, Env) {
|
27
|
+
var tinymce = window.tinymce;
|
28
|
+
|
29
|
+
/**
|
30
|
+
* @property {tinymce.dom.DOMUtils} DOM Global DOM instance.
|
31
|
+
* @property {tinymce.dom.ScriptLoader} ScriptLoader Global ScriptLoader instance.
|
32
|
+
* @property {tinymce.AddOnManager} PluginManager Global PluginManager instance.
|
33
|
+
* @property {tinymce.AddOnManager} ThemeManager Global ThemeManager instance.
|
34
|
+
*/
|
35
|
+
tinymce.DOM = DOMUtils.DOM;
|
36
|
+
tinymce.ScriptLoader = ScriptLoader.ScriptLoader;
|
37
|
+
tinymce.PluginManager = AddOnManager.PluginManager;
|
38
|
+
tinymce.ThemeManager = AddOnManager.ThemeManager;
|
39
|
+
|
40
|
+
tinymce.dom = tinymce.dom || {};
|
41
|
+
tinymce.dom.Event = EventUtils.Event;
|
42
|
+
|
43
|
+
Tools.each(Tools, function(func, key) {
|
44
|
+
tinymce[key] = func;
|
45
|
+
});
|
46
|
+
|
47
|
+
Tools.each('isOpera isWebKit isIE isGecko isMac'.split(' '), function(name) {
|
48
|
+
tinymce[name] = Env[name.substr(2).toLowerCase()];
|
49
|
+
});
|
50
|
+
|
51
|
+
return {};
|
52
|
+
});
|
53
|
+
|
54
|
+
// Describe the different namespaces
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Root level namespace this contains classes directly related to the TinyMCE editor.
|
58
|
+
*
|
59
|
+
* @namespace tinymce
|
60
|
+
*/
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Contains classes for handling the browsers DOM.
|
64
|
+
*
|
65
|
+
* @namespace tinymce.dom
|
66
|
+
*/
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Contains html parser and serializer logic.
|
70
|
+
*
|
71
|
+
* @namespace tinymce.html
|
72
|
+
*/
|
73
|
+
|
74
|
+
/**
|
75
|
+
* Contains the different UI types such as buttons, listboxes etc.
|
76
|
+
*
|
77
|
+
* @namespace tinymce.ui
|
78
|
+
*/
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Contains various utility classes such as json parser, cookies etc.
|
82
|
+
*
|
83
|
+
* @namespace tinymce.util
|
84
|
+
*/
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Contains modules to handle data binding.
|
88
|
+
*
|
89
|
+
* @namespace tinymce.data
|
90
|
+
*/
|
@@ -0,0 +1,224 @@
|
|
1
|
+
/**
|
2
|
+
* DragDropOverrides.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 module contains logic overriding the drag/drop logic of the editor.
|
13
|
+
*
|
14
|
+
* @private
|
15
|
+
* @class tinymce.DragDropOverrides
|
16
|
+
*/
|
17
|
+
define("tinymce/DragDropOverrides", [
|
18
|
+
"tinymce/dom/NodeType",
|
19
|
+
"tinymce/util/Arr",
|
20
|
+
"tinymce/util/Fun"
|
21
|
+
], function(
|
22
|
+
NodeType,
|
23
|
+
Arr,
|
24
|
+
Fun
|
25
|
+
) {
|
26
|
+
var isContentEditableFalse = NodeType.isContentEditableFalse,
|
27
|
+
isContentEditableTrue = NodeType.isContentEditableTrue;
|
28
|
+
|
29
|
+
function init(editor) {
|
30
|
+
var $ = editor.$, rootDocument = document,
|
31
|
+
editableDoc = editor.getDoc(),
|
32
|
+
dom = editor.dom, state = {};
|
33
|
+
|
34
|
+
function isDraggable(elm) {
|
35
|
+
return isContentEditableFalse(elm);
|
36
|
+
}
|
37
|
+
|
38
|
+
function setBodyCursor(cursor) {
|
39
|
+
$(editor.getBody()).css('cursor', cursor);
|
40
|
+
}
|
41
|
+
|
42
|
+
function isValidDropTarget(elm) {
|
43
|
+
if (elm == state.element || editor.dom.isChildOf(elm, state.element)) {
|
44
|
+
return false;
|
45
|
+
}
|
46
|
+
|
47
|
+
if (isContentEditableFalse(elm)) {
|
48
|
+
return false;
|
49
|
+
}
|
50
|
+
|
51
|
+
return true;
|
52
|
+
}
|
53
|
+
|
54
|
+
function move(e) {
|
55
|
+
var deltaX, deltaY, pos, viewPort,
|
56
|
+
overflowX = 0, overflowY = 0, movement,
|
57
|
+
clientX, clientY, rootClientRect;
|
58
|
+
|
59
|
+
if (e.button !== 0) {
|
60
|
+
return;
|
61
|
+
}
|
62
|
+
|
63
|
+
deltaX = e.screenX - state.screenX;
|
64
|
+
deltaY = e.screenY - state.screenY;
|
65
|
+
movement = Math.max(Math.abs(deltaX), Math.abs(deltaY));
|
66
|
+
|
67
|
+
if (!state.dragging && movement > 10) {
|
68
|
+
state.dragging = true;
|
69
|
+
setBodyCursor('default');
|
70
|
+
|
71
|
+
state.clone = state.element.cloneNode(true);
|
72
|
+
|
73
|
+
pos = dom.getPos(state.element);
|
74
|
+
state.relX = state.clientX - pos.x;
|
75
|
+
state.relY = state.clientY - pos.y;
|
76
|
+
state.width = state.element.offsetWidth;
|
77
|
+
state.height = state.element.offsetHeight;
|
78
|
+
|
79
|
+
$(state.clone).css({
|
80
|
+
width: state.width,
|
81
|
+
height: state.height
|
82
|
+
}).removeAttr('data-mce-selected');
|
83
|
+
|
84
|
+
state.ghost = $('<div>').css({
|
85
|
+
position: 'absolute',
|
86
|
+
opacity: 0.5,
|
87
|
+
overflow: 'hidden',
|
88
|
+
width: state.width,
|
89
|
+
height: state.height
|
90
|
+
}).attr({
|
91
|
+
'data-mce-bogus': 'all',
|
92
|
+
unselectable: 'on',
|
93
|
+
contenteditable: 'false'
|
94
|
+
}).addClass('mce-drag-container mce-reset').
|
95
|
+
append(state.clone).
|
96
|
+
appendTo(editor.getBody())[0];
|
97
|
+
|
98
|
+
viewPort = editor.dom.getViewPort(editor.getWin());
|
99
|
+
state.maxX = viewPort.w;
|
100
|
+
state.maxY = viewPort.h;
|
101
|
+
}
|
102
|
+
|
103
|
+
if (state.dragging) {
|
104
|
+
editor.selection.placeCaretAt(e.clientX, e.clientY);
|
105
|
+
|
106
|
+
clientX = state.clientX + deltaX - state.relX;
|
107
|
+
clientY = state.clientY + deltaY + 5;
|
108
|
+
|
109
|
+
if (clientX + state.width > state.maxX) {
|
110
|
+
overflowX = (clientX + state.width) - state.maxX;
|
111
|
+
}
|
112
|
+
|
113
|
+
if (clientY + state.height > state.maxY) {
|
114
|
+
overflowY = (clientY + state.height) - state.maxY;
|
115
|
+
}
|
116
|
+
|
117
|
+
if (editor.getBody().nodeName != 'BODY') {
|
118
|
+
rootClientRect = editor.getBody().getBoundingClientRect();
|
119
|
+
} else {
|
120
|
+
rootClientRect = {left: 0, top: 0};
|
121
|
+
}
|
122
|
+
|
123
|
+
$(state.ghost).css({
|
124
|
+
left: clientX - rootClientRect.left,
|
125
|
+
top: clientY - rootClientRect.top,
|
126
|
+
width: state.width - overflowX,
|
127
|
+
height: state.height - overflowY
|
128
|
+
});
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
function drop() {
|
133
|
+
var evt;
|
134
|
+
|
135
|
+
if (state.dragging) {
|
136
|
+
// Hack for IE since it doesn't sync W3C Range with IE Specific range
|
137
|
+
editor.selection.setRng(editor.selection.getSel().getRangeAt(0));
|
138
|
+
|
139
|
+
if (isValidDropTarget(editor.selection.getNode())) {
|
140
|
+
var targetClone = state.element;
|
141
|
+
|
142
|
+
evt = editor.fire('drop', {targetClone: targetClone});
|
143
|
+
if (evt.isDefaultPrevented()) {
|
144
|
+
return;
|
145
|
+
}
|
146
|
+
|
147
|
+
targetClone = evt.targetClone;
|
148
|
+
|
149
|
+
editor.undoManager.transact(function() {
|
150
|
+
editor.insertContent(dom.getOuterHTML(targetClone));
|
151
|
+
$(state.element).remove();
|
152
|
+
});
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
stop();
|
157
|
+
}
|
158
|
+
|
159
|
+
function start(e) {
|
160
|
+
var ceElm, evt;
|
161
|
+
|
162
|
+
stop();
|
163
|
+
|
164
|
+
if (e.button !== 0) {
|
165
|
+
return;
|
166
|
+
}
|
167
|
+
|
168
|
+
ceElm = Arr.find(editor.dom.getParents(e.target), Fun.or(isContentEditableFalse, isContentEditableTrue));
|
169
|
+
|
170
|
+
if (isDraggable(ceElm)) {
|
171
|
+
evt = editor.fire('dragstart', {target: ceElm});
|
172
|
+
if (evt.isDefaultPrevented()) {
|
173
|
+
return;
|
174
|
+
}
|
175
|
+
|
176
|
+
editor.on('mousemove', move);
|
177
|
+
editor.on('mouseup', drop);
|
178
|
+
|
179
|
+
if (rootDocument != editableDoc) {
|
180
|
+
dom.bind(rootDocument, 'mousemove', move);
|
181
|
+
dom.bind(rootDocument, 'mouseup', drop);
|
182
|
+
}
|
183
|
+
|
184
|
+
state = {
|
185
|
+
screenX: e.screenX,
|
186
|
+
screenY: e.screenY,
|
187
|
+
clientX: e.clientX,
|
188
|
+
clientY: e.clientY,
|
189
|
+
element: ceElm
|
190
|
+
};
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
function stop() {
|
195
|
+
$(state.ghost).remove();
|
196
|
+
setBodyCursor(null);
|
197
|
+
|
198
|
+
editor.off('mousemove', move);
|
199
|
+
editor.off('mouseup', stop);
|
200
|
+
|
201
|
+
if (rootDocument != editableDoc) {
|
202
|
+
dom.unbind(rootDocument, 'mousemove', move);
|
203
|
+
dom.unbind(rootDocument, 'mouseup', stop);
|
204
|
+
}
|
205
|
+
|
206
|
+
state = {};
|
207
|
+
}
|
208
|
+
|
209
|
+
editor.on('mousedown', start);
|
210
|
+
|
211
|
+
// Blocks drop inside cE=false on IE
|
212
|
+
editor.on('drop', function(e) {
|
213
|
+
var realTarget = editor.getDoc().elementFromPoint(e.clientX, e.clientY);
|
214
|
+
|
215
|
+
if (isContentEditableFalse(realTarget) || isContentEditableFalse(editor.dom.getContentEditableParent(realTarget))) {
|
216
|
+
e.preventDefault();
|
217
|
+
}
|
218
|
+
});
|
219
|
+
}
|
220
|
+
|
221
|
+
return {
|
222
|
+
init: init
|
223
|
+
};
|
224
|
+
});
|