From 835546366b953c5af5a5543d61549070ea47ef3f Mon Sep 17 00:00:00 2001 From: Froala Bot Date: Tue, 21 Apr 2020 16:45:28 +0000 Subject: [PATCH] Update to 2.9.7 --- css/froala_editor.css | 2 +- css/froala_editor.min.css | 2 +- css/froala_editor.pkgd.css | 2 +- css/froala_editor.pkgd.min.css | 2 +- css/froala_style.css | 2 +- css/froala_style.min.css | 2 +- css/plugins/char_counter.css | 2 +- css/plugins/char_counter.min.css | 2 +- css/plugins/code_view.css | 2 +- css/plugins/code_view.min.css | 2 +- css/plugins/colors.css | 2 +- css/plugins/colors.min.css | 2 +- css/plugins/draggable.css | 2 +- css/plugins/draggable.min.css | 2 +- css/plugins/emoticons.css | 2 +- css/plugins/emoticons.min.css | 2 +- css/plugins/file.css | 2 +- css/plugins/file.min.css | 2 +- css/plugins/fullscreen.css | 2 +- css/plugins/fullscreen.min.css | 2 +- css/plugins/help.css | 2 +- css/plugins/help.min.css | 2 +- css/plugins/image.css | 2 +- css/plugins/image.min.css | 2 +- css/plugins/image_manager.css | 2 +- css/plugins/image_manager.min.css | 2 +- css/plugins/line_breaker.css | 2 +- css/plugins/line_breaker.min.css | 2 +- css/plugins/quick_insert.css | 2 +- css/plugins/quick_insert.min.css | 2 +- css/plugins/special_characters.css | 2 +- css/plugins/special_characters.min.css | 2 +- css/plugins/table.css | 2 +- css/plugins/table.min.css | 2 +- css/plugins/video.css | 2 +- css/plugins/video.min.css | 2 +- css/themes/dark.css | 2 +- css/themes/dark.min.css | 2 +- css/themes/gray.css | 2 +- css/themes/gray.min.css | 2 +- css/themes/red.css | 2 +- css/themes/red.min.css | 2 +- css/themes/royal.css | 2 +- css/themes/royal.min.css | 2 +- css/third_party/embedly.css | 2 +- css/third_party/embedly.min.css | 2 +- css/third_party/font_awesome.css | 2 +- css/third_party/font_awesome.min.css | 2 +- css/third_party/image_tui.css | 2 +- css/third_party/image_tui.min.css | 2 +- css/third_party/spell_checker.css | 2 +- css/third_party/spell_checker.min.css | 2 +- js/froala_editor.min.js | 4 ++-- js/froala_editor.pkgd.min.js | 4 ++-- js/languages/ar.js | 2 +- js/languages/bs.js | 2 +- js/languages/cs.js | 2 +- js/languages/da.js | 2 +- js/languages/de.js | 2 +- js/languages/el.js | 2 +- js/languages/en_ca.js | 2 +- js/languages/en_gb.js | 2 +- js/languages/es.js | 2 +- js/languages/et.js | 2 +- js/languages/fa.js | 2 +- js/languages/fi.js | 2 +- js/languages/fr.js | 2 +- js/languages/he.js | 2 +- js/languages/hr.js | 2 +- js/languages/hu.js | 2 +- js/languages/id.js | 2 +- js/languages/it.js | 2 +- js/languages/ja.js | 2 +- js/languages/ko.js | 2 +- js/languages/ku.js | 2 +- js/languages/me.js | 2 +- js/languages/nb.js | 2 +- js/languages/nl.js | 2 +- js/languages/pl.js | 2 +- js/languages/pt_br.js | 2 +- js/languages/pt_pt.js | 2 +- js/languages/ro.js | 2 +- js/languages/ru.js | 2 +- js/languages/sk.js | 2 +- js/languages/sr.js | 2 +- js/languages/sv.js | 2 +- js/languages/th.js | 2 +- js/languages/tr.js | 2 +- js/languages/uk.js | 2 +- js/languages/vi.js | 2 +- js/languages/zh_cn.js | 2 +- js/languages/zh_tw.js | 2 +- js/plugins/align.min.js | 2 +- js/plugins/char_counter.min.js | 2 +- js/plugins/code_beautifier.min.js | 2 +- js/plugins/code_view.min.js | 2 +- js/plugins/colors.min.js | 2 +- js/plugins/draggable.min.js | 2 +- js/plugins/emoticons.min.js | 2 +- js/plugins/entities.min.js | 2 +- js/plugins/file.min.js | 2 +- js/plugins/font_family.min.js | 2 +- js/plugins/font_size.min.js | 2 +- js/plugins/forms.min.js | 2 +- js/plugins/fullscreen.min.js | 2 +- js/plugins/help.min.js | 2 +- js/plugins/image.min.js | 2 +- js/plugins/image_manager.min.js | 2 +- js/plugins/inline_class.min.js | 2 +- js/plugins/inline_style.min.js | 2 +- js/plugins/line_breaker.min.js | 2 +- js/plugins/line_height.min.js | 2 +- js/plugins/link.min.js | 2 +- js/plugins/lists.min.js | 2 +- js/plugins/paragraph_format.min.js | 2 +- js/plugins/paragraph_style.min.js | 2 +- js/plugins/print.min.js | 2 +- js/plugins/quick_insert.min.js | 2 +- js/plugins/quote.min.js | 2 +- js/plugins/save.min.js | 2 +- js/plugins/special_characters.min.js | 2 +- js/plugins/table.min.js | 2 +- js/plugins/url.min.js | 2 +- js/plugins/video.min.js | 2 +- js/plugins/word_paste.min.js | 2 +- js/third_party/embedly.min.js | 2 +- js/third_party/font_awesome.min.js | 2 +- js/third_party/image_aviary.min.js | 2 +- js/third_party/image_tui.min.js | 2 +- js/third_party/spell_checker.min.js | 2 +- package.json | 2 +- 131 files changed, 133 insertions(+), 133 deletions(-) diff --git a/css/froala_editor.css b/css/froala_editor.css index 90e3693b6..4b1632153 100644 --- a/css/froala_editor.css +++ b/css/froala_editor.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/froala_editor.min.css b/css/froala_editor.min.css index 66f254b24..bd1077f68 100644 --- a/css/froala_editor.min.css +++ b/css/froala_editor.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/froala_editor.pkgd.css b/css/froala_editor.pkgd.css index 1e5195b8f..0126707be 100644 --- a/css/froala_editor.pkgd.css +++ b/css/froala_editor.pkgd.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/froala_editor.pkgd.min.css b/css/froala_editor.pkgd.min.css index 9df4e7dff..fa50d5ce6 100644 --- a/css/froala_editor.pkgd.min.css +++ b/css/froala_editor.pkgd.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/froala_style.css b/css/froala_style.css index 56580ff50..9e0a92cd2 100644 --- a/css/froala_style.css +++ b/css/froala_style.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/froala_style.min.css b/css/froala_style.min.css index 5dde84b2a..da54f9df8 100644 --- a/css/froala_style.min.css +++ b/css/froala_style.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/char_counter.css b/css/plugins/char_counter.css index 61aacf346..389403a0f 100644 --- a/css/plugins/char_counter.css +++ b/css/plugins/char_counter.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/char_counter.min.css b/css/plugins/char_counter.min.css index 421e75cdb..726d0e27b 100644 --- a/css/plugins/char_counter.min.css +++ b/css/plugins/char_counter.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/code_view.css b/css/plugins/code_view.css index 754fd6e7c..bb282f9b7 100644 --- a/css/plugins/code_view.css +++ b/css/plugins/code_view.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/code_view.min.css b/css/plugins/code_view.min.css index 32a745803..e7d12b9a9 100644 --- a/css/plugins/code_view.min.css +++ b/css/plugins/code_view.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/colors.css b/css/plugins/colors.css index 406074374..11bb7595a 100644 --- a/css/plugins/colors.css +++ b/css/plugins/colors.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/colors.min.css b/css/plugins/colors.min.css index 4a1e55455..e3be8faa6 100644 --- a/css/plugins/colors.min.css +++ b/css/plugins/colors.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/draggable.css b/css/plugins/draggable.css index 90c15b6b6..18037659f 100644 --- a/css/plugins/draggable.css +++ b/css/plugins/draggable.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/draggable.min.css b/css/plugins/draggable.min.css index ee11cc3dd..c4bb5816a 100644 --- a/css/plugins/draggable.min.css +++ b/css/plugins/draggable.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/emoticons.css b/css/plugins/emoticons.css index 7c031db65..1fe69dcaf 100644 --- a/css/plugins/emoticons.css +++ b/css/plugins/emoticons.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/emoticons.min.css b/css/plugins/emoticons.min.css index f4f69f8cb..f8083a2ae 100644 --- a/css/plugins/emoticons.min.css +++ b/css/plugins/emoticons.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/file.css b/css/plugins/file.css index 7eec5b6da..4e73f594a 100644 --- a/css/plugins/file.css +++ b/css/plugins/file.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/file.min.css b/css/plugins/file.min.css index 745ebd0bd..0bcd291b8 100644 --- a/css/plugins/file.min.css +++ b/css/plugins/file.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/fullscreen.css b/css/plugins/fullscreen.css index 33c41328c..a1f3c4655 100644 --- a/css/plugins/fullscreen.css +++ b/css/plugins/fullscreen.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/fullscreen.min.css b/css/plugins/fullscreen.min.css index cf12d42b0..dd23926d2 100644 --- a/css/plugins/fullscreen.min.css +++ b/css/plugins/fullscreen.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/help.css b/css/plugins/help.css index 11d5b0871..a83693913 100644 --- a/css/plugins/help.css +++ b/css/plugins/help.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/help.min.css b/css/plugins/help.min.css index a67696ef2..b2568e3f1 100644 --- a/css/plugins/help.min.css +++ b/css/plugins/help.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/image.css b/css/plugins/image.css index fc47f5e99..0fa812b26 100644 --- a/css/plugins/image.css +++ b/css/plugins/image.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/image.min.css b/css/plugins/image.min.css index c9ea67063..6cb407bdf 100644 --- a/css/plugins/image.min.css +++ b/css/plugins/image.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/image_manager.css b/css/plugins/image_manager.css index c11e6bc85..c00a396fb 100644 --- a/css/plugins/image_manager.css +++ b/css/plugins/image_manager.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/image_manager.min.css b/css/plugins/image_manager.min.css index a3217b46b..e9a7067ac 100644 --- a/css/plugins/image_manager.min.css +++ b/css/plugins/image_manager.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/line_breaker.css b/css/plugins/line_breaker.css index 002cf66ea..27d348954 100644 --- a/css/plugins/line_breaker.css +++ b/css/plugins/line_breaker.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/line_breaker.min.css b/css/plugins/line_breaker.min.css index 8ec324ab8..dded6ca4f 100644 --- a/css/plugins/line_breaker.min.css +++ b/css/plugins/line_breaker.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/quick_insert.css b/css/plugins/quick_insert.css index 74e3e4f4c..e7ddc1abb 100644 --- a/css/plugins/quick_insert.css +++ b/css/plugins/quick_insert.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/quick_insert.min.css b/css/plugins/quick_insert.min.css index 5a91c6bb8..800979f95 100644 --- a/css/plugins/quick_insert.min.css +++ b/css/plugins/quick_insert.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/special_characters.css b/css/plugins/special_characters.css index 148a6aea8..5a7d980ec 100644 --- a/css/plugins/special_characters.css +++ b/css/plugins/special_characters.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/special_characters.min.css b/css/plugins/special_characters.min.css index c4ef07e24..47af7845e 100644 --- a/css/plugins/special_characters.min.css +++ b/css/plugins/special_characters.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/table.css b/css/plugins/table.css index 809491214..0c797f907 100644 --- a/css/plugins/table.css +++ b/css/plugins/table.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/table.min.css b/css/plugins/table.min.css index 72d45e61e..c62d4dc18 100644 --- a/css/plugins/table.min.css +++ b/css/plugins/table.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/video.css b/css/plugins/video.css index 0babdc4d0..aa16c9246 100644 --- a/css/plugins/video.css +++ b/css/plugins/video.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/plugins/video.min.css b/css/plugins/video.min.css index 91bdb6544..07d0a7c9b 100644 --- a/css/plugins/video.min.css +++ b/css/plugins/video.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/dark.css b/css/themes/dark.css index 029a55843..bd9fcc4a0 100644 --- a/css/themes/dark.css +++ b/css/themes/dark.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/dark.min.css b/css/themes/dark.min.css index 268146c70..e028eb503 100644 --- a/css/themes/dark.min.css +++ b/css/themes/dark.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/gray.css b/css/themes/gray.css index 1ab2ca112..5a7db0425 100644 --- a/css/themes/gray.css +++ b/css/themes/gray.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/gray.min.css b/css/themes/gray.min.css index 94c3083fd..db1022822 100644 --- a/css/themes/gray.min.css +++ b/css/themes/gray.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/red.css b/css/themes/red.css index 0dc52466e..05852bf79 100644 --- a/css/themes/red.css +++ b/css/themes/red.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/red.min.css b/css/themes/red.min.css index 8935d656e..da5ddb671 100644 --- a/css/themes/red.min.css +++ b/css/themes/red.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/royal.css b/css/themes/royal.css index bf83b47fd..7cc1c010e 100644 --- a/css/themes/royal.css +++ b/css/themes/royal.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/themes/royal.min.css b/css/themes/royal.min.css index 3ed6e6f2e..2589ee81a 100644 --- a/css/themes/royal.min.css +++ b/css/themes/royal.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/embedly.css b/css/third_party/embedly.css index 7185e5933..71059399c 100644 --- a/css/third_party/embedly.css +++ b/css/third_party/embedly.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/embedly.min.css b/css/third_party/embedly.min.css index 11020b2d5..2c44c9ff5 100644 --- a/css/third_party/embedly.min.css +++ b/css/third_party/embedly.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/font_awesome.css b/css/third_party/font_awesome.css index 4457ca4ac..14eae2ce0 100644 --- a/css/third_party/font_awesome.css +++ b/css/third_party/font_awesome.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/font_awesome.min.css b/css/third_party/font_awesome.min.css index e1ffdf577..1056be168 100644 --- a/css/third_party/font_awesome.min.css +++ b/css/third_party/font_awesome.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/image_tui.css b/css/third_party/image_tui.css index b6a9961a6..b10a2f3a8 100644 --- a/css/third_party/image_tui.css +++ b/css/third_party/image_tui.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/image_tui.min.css b/css/third_party/image_tui.min.css index 4f9a68dbe..b42521d73 100644 --- a/css/third_party/image_tui.min.css +++ b/css/third_party/image_tui.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/spell_checker.css b/css/third_party/spell_checker.css index 3108394e0..32796da5e 100644 --- a/css/third_party/spell_checker.css +++ b/css/third_party/spell_checker.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/css/third_party/spell_checker.min.css b/css/third_party/spell_checker.min.css index b6d12712a..081e6fd77 100644 --- a/css/third_party/spell_checker.min.css +++ b/css/third_party/spell_checker.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/froala_editor.min.js b/js/froala_editor.min.js index 5e5ab236e..f377c4cf8 100644 --- a/js/froala_editor.min.js +++ b/js/froala_editor.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ -!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t)}:n(window.jQuery)}(function(R){var s=function(e,t){this.id=++R.FE.ID;var n={};t&&t.documentReady&&(n.toolbarButtons=["fullscreen","undo","redo","getPDF","print","|","bold","italic","underline","color","clearFormatting","|","alignLeft","alignCenter","alignRight","alignJustify","|","formatOL","formatUL","indent","outdent","-","paragraphFormat","|","fontFamily","|","fontSize","|","insertLink","insertImage","quote"],n.paragraphFormatSelection=!0,n.fontFamilySelection=!0,n.fontSizeSelection=!0,n.placeholderText="Type something",n.quickInsertEnabled=!1,n.charCounterCount=!1),this.opts=R.extend(!0,{},R.extend({},s.DEFAULTS,n,"object"==typeof t&&t));var r=JSON.stringify(this.opts);R.FE.OPTS_MAPPING[r]=R.FE.OPTS_MAPPING[r]||this.id,this.sid=R.FE.OPTS_MAPPING[r],R.FE.SHARED[this.sid]=R.FE.SHARED[this.sid]||{},this.shared=R.FE.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=R(e),this.$oel.data("froala.editor",this),this.o_doc=e.ownerDocument,this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow;var o=R(this.o_win).scrollTop();this.$oel.on("froala.doInit",R.proxy(function(){this.$oel.off("froala.doInit"),this.doc=this.$el.get(0).ownerDocument,this.win="defaultView"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=R(this.doc),this.$win=R(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(R.FE.PLUGINS)),this.opts.initOnClick?(this.load(R.FE.MODULES),this.$el.on("touchstart.init",function(){R(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){R(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",R.proxy(function(e){if("touchend"==e.type&&!this.$el.data("touched"))return!0;if(1===e.which||!e.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init"),this.load(R.FE.MODULES),this.load(R.FE.PLUGINS);var t=e.originalEvent&&e.originalEvent.originalTarget;t&&"IMG"==t.tagName&&R(t).trigger("mousedown"),"undefined"==typeof this.ul&&this.destroy(),"touchend"==e.type&&this.image&&e.originalEvent&&e.originalEvent.target&&R(e.originalEvent.target).is("img")&&setTimeout(R.proxy(function(){this.image.edit(R(e.originalEvent.target))},this),100),this.ready=!0,this.events.trigger("initialized")}},this)),this.events.trigger("initializationDelayed")):(this.load(R.FE.MODULES),this.load(R.FE.PLUGINS),R(this.o_win).scrollTop(o),"undefined"==typeof this.ul&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))},this)),this._init()};s.DEFAULTS={initOnClick:!1,pluginsEnabled:null},s.MODULES={},s.PLUGINS={},s.VERSION="2.9.6",s.INSTANCES=[],s.OPTS_MAPPING={},s.SHARED={},s.ID=0,s.prototype._init=function(){var e=this.$oel.prop("tagName");this.$oel.closest("label").length;var t=R.proxy(function(){"TEXTAREA"!=e&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=R('',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"},{test_regex:/^(http(s)?:\/\/|www\.).*(\.mp4|\.mkv|\.mpg|\.mp2|\.mpeg|\.mpv|\.m4p|\.m4v|\.webm|\.ogg|\.ogv|\.avi|\.wmv|\.mov|\.flv|\.swf)$/,url_regex:"",url_text:"",html:'',provider:"unknown"}],Te.FE.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Te.FE.PLUGINS.video=function(p){var s,c,f,u,r,n,l="https://i.froala.com/upload",d=2,h=3,g=4,m=5,v=6,i={};function E(){var e=p.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function a(){var e=p.popups.get("video.edit");if(e||(e=function(){var e="";if(0',e+=p.button.buildList(p.opts.videoEditButtons);var t={buttons:e+=""},n=p.popups.create("video.edit",t);return p.events.$on(p.$wp,"scroll.video-edit",function(){u&&p.popups.isVisible("video.edit")&&(p.events.disableBlur(),L(u))}),n}return!1}()),e){p.popups.setContainer("video.edit",p.$sc),p.popups.refresh("video.edit");var t=u.find("iframe, embed, video"),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();p.popups.show("video.edit",n,r,t.outerHeight())}}function o(e){if(e)return p.popups.onRefresh("video.insert",E),p.popups.onHide("image.insert",X),!0;var t="";p.opts.videoUpload||-1===p.opts.videoInsertButtons.indexOf("videoUpload")||p.opts.videoInsertButtons.splice(p.opts.videoInsertButtons.indexOf("videoUpload"),1);var n=p.button.buildList(p.opts.videoInsertButtons);""!==n&&(t='
'+n+"
");var r,i="",a=p.opts.videoInsertButtons.indexOf("videoUpload"),o=p.opts.videoInsertButtons.indexOf("videoByURL"),s=p.opts.videoInsertButtons.indexOf("videoEmbed");0<=o&&(r=" fr-active",(a
");var l="";0<=s&&(r=" fr-active",(a
");var d="";0<=a&&(r=" fr-active",(s'+p.language.translate("Drop video")+"
("+p.language.translate("or click")+')
');var c={buttons:t,by_url_layer:i,embed_layer:l,upload_layer:d,progress_bar:'

Uploading

'},f=p.popups.create("video.insert",c);return function(r){p.events.$on(r,"dragover dragenter",".fr-video-upload-layer",function(){return Te(this).addClass("fr-drop"),!1},!0),p.events.$on(r,"dragleave dragend",".fr-video-upload-layer",function(){return Te(this).removeClass("fr-drop"),!1},!0),p.events.$on(r,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),Te(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||p;n.events.disableBlur(),n.video.upload(t.files),n.events.enableBlur()}},!0),p.helpers.isIOS()&&p.events.$on(r,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){Te(this).trigger("click")},!0);p.events.$on(r,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||p;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}Te(this).val("")},!0)}(f),f}function b(e){p.events.focus(!0),p.selection.restore();var t=!1;u&&(V(),t=!0),p.html.insert(''+e+"",!1,p.opts.videoSplitHTML),p.popups.hide("video.insert");var n=p.$el.find(".fr-jiv");n.removeClass("fr-jiv"),n.toggleClass("fr-rv",p.opts.videoResponsive),q(n,p.opts.videoDefaultDisplay,p.opts.videoDefaultAlign),n.toggleClass("fr-draggable",p.opts.videoMove),p.events.trigger(t?"video.replaced":"video.inserted",[n])}function T(){var e=Te(this);p.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),L(e.parent()),p.events.trigger("video.loaded",[e.parent()])}function A(s,e,l,d,c){p.edit.off(),R("Loading video"),e&&(s=p.helpers.sanitizeURL(s));C("Loading video"),function(){var e,t;if(d){p.undo.canDo()||d.find("video").hasClass("fr-uploading")||p.undo.saveStep();var n=d.find("video").data("fr-old-src"),r=d.data("fr-replaced");d.data("fr-replaced",!1),p.$wp?((e=d.clone()).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&d.find("video").attr("src",n),d.replaceWith(e)):e=d;for(var i=e.find("video").get(0).attributes,a=0;a");o.toggleClass("fr-draggable",p.opts.videoMove),p.edit.on(),p.events.focus(!0),p.selection.restore(),p.undo.saveStep(),p.opts.videoSplitHTML?p.markers.split():p.markers.insert(),p.html.wrap();var s=p.$el.find(".fr-marker");return p.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent()),s.replaceWith(o),p.selection.clear(),o.find("video").get(0).readyState>o.find("video").get(0).HAVE_FUTURE_DATA||p.helpers.isIOS()?n.call(o.find("video").get(0)):o.find("video").on("canplaythrough load",n),o}(s,l,T),F(),p.undo.saveStep(),p.events.trigger("video.inserted",[e,c])}()}function C(e){var t=p.popups.get("video.insert");if(t||(t=o()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),u){var n=u.find("video");p.popups.setContainer("video.insert",p.$sc);var r=n.offset().left+n.width()/2,i=n.offset().top+n.height();p.popups.show("video.insert",r,i,n.outerHeight())}void 0===e&&R(p.language.translate("Uploading"),0)}function S(e){var t=p.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||p.$el.find("video.fr-error").length)){if(p.events.focus(),p.$el.find("video.fr-error").length&&(p.$el.find("video.fr-error").parent().remove(),p.undo.saveStep(),p.undo.run(),p.undo.dropRedo()),!p.$wp&&u){var n=u;B(!0),p.selection.setAfter(n.find("video").get(0)),p.selection.restore()}p.popups.hide("video.insert")}}function R(e,t){var n=p.popups.get("video.insert");if(n){var r=n.find(".fr-video-progress-bar-layer");r.find("h3").text(e+(t?" "+t+"%":"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width",t+"%")):r.find("div").addClass("fr-indeterminate")}}function y(e){C();var t=p.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),p.events.disableBlur(),n.focus()}function L(e){$.call(e.get(0))}function _(e){R("Loading video");var t=this.status,n=this.response,r=this.responseXML,i=this.responseText;try{if(p.opts.videoUploadToS3)if(201==t){var a=function(e){try{var t=Te(e).find("Location").text(),n=Te(e).find("Key").text();return!1===p.events.trigger("video.uploadedToS3",[t,n,e],!0)?(p.edit.on(),!1):t}catch(r){return H(g,e),!1}}(r);a&&A(a,!1,[],e,n||r)}else H(g,n||r);else if(200<=t&&t<300){var o=function(e){try{if(!1===p.events.trigger("video.uploaded",[e],!0))return p.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(H(d,e),!1)}catch(n){return H(g,e),!1}}(i);o&&A(o.link,!1,o,e,n||i)}else H(h,n||i)}catch(s){H(g,n||i)}}function N(){H(g,this.response||this.responseText||this.responseXML)}function x(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;R(p.language.translate("Uploading"),t)}}function w(){p.edit.on(),S(!0)}function O(e){if(!p.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;if("mousedown"==e.type){var r=p.$oel.get(0).ownerDocument,i=r.defaultView||r.parentWindow,a=!1;try{a=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(o){}a&&i.frameElement&&(t+=p.helpers.getPX(Te(i.frameElement).offset().left)+i.frameElement.clientLeft,n=e.clientY+p.helpers.getPX(Te(i.frameElement).offset().top)+i.frameElement.clientTop)}p.undo.canDo()||p.undo.saveStep(),(c=Te(this)).data("start-x",t),c.data("start-y",n),s.show(),p.popups.hideAll(),P()}function I(e){if(!p.core.sameInstance(f))return!0;if(c){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;var r=c.data("start-x"),i=c.data("start-y");c.data("start-x",t),c.data("start-y",n);var a=t-r,o=n-i,s=u.find("iframe, embed, video"),l=s.width(),d=s.height();(c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(a=0-a),(c.hasClass("fr-hnw")||c.hasClass("fr-hne"))&&(o=0-o),s.css("width",l+a),s.css("height",d+o),s.removeAttr("width"),s.removeAttr("height"),M()}}function k(e){if(!p.core.sameInstance(f))return!0;c&&u&&(e&&e.stopPropagation(),c=null,s.hide(),M(),a(),p.undo.saveStep())}function t(e){return'
'}function D(e,t,n,r){return e.pageX=t,e.pageY=t,O.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,r)),I.call(this,e),k.call(this,e),++r}function F(){var e,t=Array.prototype.slice.call(p.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;e'),f=p.shared.$video_resizer,p.events.$on(f,"mousedown",function(e){e.stopPropagation()},!0),p.opts.videoResize&&(f.append(t("nw")+t("ne")+t("sw")+t("se")),p.shared.$vid_overlay=Te('
'),s=p.shared.$vid_overlay,e=f.get(0).ownerDocument,Te(e).find("body:first").append(s))),p.events.on("shared.destroy",function(){f.html("").removeData().remove(),f=null,p.opts.videoResize&&(s.remove(),s=null)},!0),p.helpers.isMobile()||p.events.$on(Te(p.o_win),"resize.video",function(){B(!0)}),p.opts.videoResize){e=f.get(0).ownerDocument,p.events.$on(f,p._mousedown,".fr-handler",O),p.events.$on(Te(e),p._mousemove,I),p.events.$on(Te(e.defaultView||e.parentWindow),p._mouseup,k),p.events.$on(s,"mouseleave",k);var r=1,i=null,a=0;p.events.on("keydown",function(e){if(u){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==i||200p.opts.videoMaxSize)return H(m),!1;if(p.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))<0)return H(v),!1;if((null===p.opts.videoUploadURL||p.opts.videoUploadURL==l)&&!p.opts.videoUploadToS3)return function(t){u&&u.find("iframe")&&u.find("iframe").length&&V();var n=new FileReader;n.onload=function(){var e=n.result;A(e=window.URL.createObjectURL(new Blob([e],{type:t.type})),!1,null,u)},C(),n.readAsArrayBuffer(t)}(n),!1;if(p.drag_support.formdata&&(t=p.drag_support.formdata?new FormData:null),t){var r;if(!1!==p.opts.videoUploadToS3)for(r in t.append("key",p.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),p.opts.videoUploadToS3.params)p.opts.videoUploadToS3.params.hasOwnProperty(r)&&t.append(r,p.opts.videoUploadToS3.params[r]);for(r in p.opts.videoUploadParams)p.opts.videoUploadParams.hasOwnProperty(r)&&t.append(r,p.opts.videoUploadParams[r]);t.append(p.opts.videoUploadParam,n);var i=p.opts.videoUploadURL;p.opts.videoUploadToS3&&(i=p.opts.videoUploadToS3.uploadURL?p.opts.videoUploadToS3.uploadURL:"https://"+p.opts.videoUploadToS3.region+".amazonaws.com/"+p.opts.videoUploadToS3.bucket);var a=p.core.getXHR(i,p.opts.videoUploadMethod);a.onload=function(){_.call(a,u)},a.onerror=N,a.upload.onprogress=x,a.onabort=w,C(),p.events.disableBlur(),p.edit.off(),p.events.enableBlur();var o=p.popups.get("video.insert");o&&o.off("abortUpload").on("abortUpload",function(){4!=a.readyState&&a.abort()}),a.send(t)}}}function H(e,t){p.edit.on(),u&&u.find("video").addClass("fr-error"),y(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.error",[{code:e,message:i[e]},t])}function W(){if(u){var e=p.popups.get("video.size"),t=u.find("iframe, embed, video");e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function z(e){if(e)return p.popups.onRefresh("video.size",W),!0;var t={buttons:'
'+p.button.buildList(p.opts.videoSizeButtons)+"
",size_layer:'
"},n=p.popups.create("video.size",t);return p.events.$on(p.$wp,"scroll",function(){u&&p.popups.isVisible("video.size")&&(p.events.disableBlur(),L(u))}),n}function Y(e){if(void 0===e&&(e=u),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function G(e){void 0===e&&(e=u);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function V(){if(u&&!1!==p.events.trigger("video.beforeRemove",[u])){var e=u;p.popups.hideAll(),B(!0),p.selection.setBefore(e.get(0))||p.selection.setAfter(e.get(0)),e.remove(),p.selection.restore(),p.html.fillEmptyBlocks()}}function X(){S()}function q(e,t,n){!p.opts.htmlUntouched&&p.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv"+n[0]+" fr-dv"+t[0])):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function j(){p.$el.find("video").filter(function(){return 0===Te(this).parents("span.fr-video").length}).wrap(''),p.$el.find("embed, iframe").filter(function(){if(p.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0');for(var e,t,n=p.$el.find("span.fr-video, video"),r=0;r *:first").replaceWith(p.icon.create("video-align-"+Y()))},refreshAlignOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+Y()+'"]').addClass("fr-active").attr("aria-selected",!0)},display:function(e){u.removeClass("fr-dvi fr-dvb"),!p.opts.htmlUntouched&&p.opts.useClasses?"inline"==e?u.addClass("fr-dvi"):"block"==e&&u.addClass("fr-dvb"):q(u,e,Y()),Q(),M(),a(),p.selection.clear()},refreshDisplayOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+G()+'"]').addClass("fr-active").attr("aria-selected",!0)},remove:V,hideProgressBar:S,showSizePopup:function(){var e=p.popups.get("video.size");e||(e=z()),S(),p.popups.refresh("video.size"),p.popups.setContainer("video.size",p.$sc);var t=u.find("iframe, embed, video"),n=t.offset().left+t.width()/2,r=t.offset().top+t.height();p.popups.show("video.size",n,r,t.height())},replace:function(){var e=p.popups.get("video.insert");e||(e=o()),p.popups.isVisible("video.insert")||(S(),p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$sc));var t=u.offset().left+u.width()/2,n=u.offset().top+u.height();p.popups.show("video.insert",t,n,u.outerHeight())},back:function(){u?(p.events.disableBlur(),u.trigger("click")):(p.events.disableBlur(),p.selection.restore(),p.events.enableBlur(),p.popups.hide("video.insert"),p.toolbar.showInline())},setSize:function(e,t){if(u){var n=p.popups.get("video.size"),r=u.find("iframe, embed, video");r.css("width",e||n.find('input[name="width"]').val()),r.css("height",t||n.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),n.find("input:focus").blur(),setTimeout(function(){u.trigger("click")},p.helpers.isAndroid()?50:0)}},get:function(){return u},showProgressBar:C}},Te.FE.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Te.FE.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera"}),Te.FE.DefineIcon("videoByURL",{NAME:"link"}),Te.FE.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Te.FE.DefineIcon("videoEmbed",{NAME:"code"}),Te.FE.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Te.FE.DefineIcon("videoUpload",{NAME:"upload"}),Te.FE.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Te.FE.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Te.FE.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Te.FE.DefineIcon("videoDisplay",{NAME:"star"}),Te.FE.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Te.FE.DefineIcon("video-align",{NAME:"align-left"}),Te.FE.DefineIcon("video-align-left",{NAME:"align-left"}),Te.FE.DefineIcon("video-align-right",{NAME:"align-right"}),Te.FE.DefineIcon("video-align-center",{NAME:"align-justify"}),Te.FE.DefineIcon("videoAlign",{NAME:"align-center"}),Te.FE.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Te.FE.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt"}),Te.FE.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Te.FE.DefineIcon("videoRemove",{NAME:"trash"}),Te.FE.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Te.FE.DefineIcon("videoSize",{NAME:"arrows-alt"}),Te.FE.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Te.FE.DefineIcon("videoBack",{NAME:"arrow-left"}),Te.FE.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Te.FE.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Te.FE.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Te.extend(Te.FE.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),Te.FE.PLUGINS.wordPaste=function(T){var a,r,o="word_paste";function t(e){var t=T.opts.wordAllowedStyleProps;e||(T.opts.wordAllowedStyleProps=[]),0===r.indexOf("")&&(r=""+r+"
"),r=function(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1"));!function(e){for(var t=e.split("v:shape"),n=1;n').remove()}}(e,t),!0});for(var a=i.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),o=a.length-1;0<=o;o--)a[o].previousElementSibling&&"LI"===a[o].previousElementSibling.tagName&&a[o].previousElementSibling.appendChild(a[o]);c(i,function(t){if(t.nodeType==Node.TEXT_NODE)return t.data=t.data.replace(/
(\n|\r)/gi,"
"),!1;if(t.nodeType==Node.ELEMENT_NODE){if(S(t)){var n=t.parentNode,r=t.previousSibling,i=function e(t,n,r){t.firstElementChild.innerHTML=t.firstElementChild&&t.firstElementChild.innerHTML.replace(/\r?\n|\r/g,"");var i=/[0-9a-zA-Z\\xa7\s]/gi;var a=!1;var o=t.querySelector('span[style="mso-list:Ignore"]');var s;var l;var d;var c;var f;var p;var u;var h=navigator.userAgent.toLowerCase();var g;var m="";var v;-1!=h.indexOf("safari")&&(h=-1':"<"+p+">"):"list-style-type: lower-alpha;"==u?(E=g.charCodeAt(0)-96,v=u?"<"+p+m+' style = "'+u+'" start="'+E+'">':"<"+p+">"):v=u?"<"+p+m+' style = "'+u+'">':"<"+p+">";for(;t;){if(!S(t)){if(t.outerHTML&&0"+c+""):(f=e(t,n,b),v+=f.el.outerHTML,t=f.currentNode);var T=t&&t.nextElementSibling;T&&(s=T.previousElementSibling),t&&t.parentNode&&t.parentNode.removeChild(t),t=T}}v+="";var A=document.createElement("div");A.innerHTML=v;var C=A.firstElementChild;return{el:C,currentNode:t}}(t,s).el,a=null;return(a=r?r.nextSibling:n.firstChild)?n.insertBefore(i,a):n.appendChild(i),!1}return"FONT"===t.tagName&&s["."+t.getAttribute("class")]&&(t=v(t,"span")),p(t,s)}if(t.nodeType==Node.COMMENT_NODE){if(-1([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",r=0;r++/gi,"")}function v(e,t){for(var n=document.createElement(t),r=0;r");for(var o=n.firstElementChild,s=1==n.children.length;o;)"P"!=o.tagName||S(o)||s&&C(o),o=o.nextElementSibling;if(t){var l=n.getAttribute("class");if(l){var d=(l=y(l)).match(/xl[0-9]+/gi);if(d){var c="."+d[0];t[c]&&("TD"===n.tagName&&(t[c]=t[c].replace(/(border[^:]*:)(\d*\.\d*)(pt)/g,function(e,t,n,r){return[t,Math.round(2*parseFloat(n)),r].join("")})),L(n,t[c]))}}t.td&&L(n,t.td)}var f=n.getAttribute("style");f&&(f=y(f))&&";"!=f.slice(-1)&&(f+=";");var p=n.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var h=null;if(f){var g=f.match(/text-align:.+?[; "]{1,1}/gi);g&&(h=g[g.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"==h&&(h=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var E=n.getAttribute("colspan"),b=n.getAttribute("rowspan");E&&n.setAttribute("colspan",E),b&&n.setAttribute("rowspan",b),p&&(n.style["vertical-align"]=p),h&&(n.style["text-align"]=h),m&&(n.style["background-color"]=m),a&&n.setAttribute("width",a),n=n.nextElementSibling}for(n=e.firstElementChild;n;)a=n.getAttribute("width"),i?n.removeAttribute("width"):n.setAttribute("width",100*parseInt(a,10)/r+"%"),n=n.nextElementSibling}(e,t),"A"!=n||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==n&&e.getAttribute("href")&&e.querySelector("img")){var g=e.querySelectorAll("span");for(i=0;i"),"TABLE"==n&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!=e.getAttribute("style").toLowerCase().indexOf("mso")){var m=y(e.getAttribute("style"));(m=m.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",m):e.removeAttribute("style")}return!0}var h={};return{_init:function(){T.events.on("paste.wordPaste",function(e){return r=e,T.opts.wordPasteModal?function(){if(!a){var e='

'+T.language.translate("Word Paste Detected")+"

",t=(i='
',i+='

'+T.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

",i+='
",i+="
"),n=T.modals.create(o,e,t),r=n.$body;a=n.$modal,n.$modal.addClass("fr-middle"),T.events.bindClick(r,"button.fr-remove-word",function(){var e=a.data("instance")||T;e.wordPaste.clean()}),T.events.bindClick(r,"button.fr-keep-word",function(){var e=a.data("instance")||T;e.wordPaste.clean(!0)}),T.events.$on(Te(T.o_win),"resize",function(){T.modals.resize(o)})}var i;T.modals.show(o),T.modals.resize(o)}():t(T.opts.wordPasteKeepFormatting),!1})},clean:t}}}); \ No newline at end of file +!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return t===undefined&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t)}:n(window.jQuery)}(function(Te){var s=function(e,t){this.id=++Te.FE.ID;var n={};t&&t.documentReady&&(n.toolbarButtons=["fullscreen","undo","redo","getPDF","print","|","bold","italic","underline","color","clearFormatting","|","alignLeft","alignCenter","alignRight","alignJustify","|","formatOL","formatUL","indent","outdent","-","paragraphFormat","|","fontFamily","|","fontSize","|","insertLink","insertImage","quote"],n.paragraphFormatSelection=!0,n.fontFamilySelection=!0,n.fontSizeSelection=!0,n.placeholderText="Type something",n.quickInsertEnabled=!1,n.charCounterCount=!1),this.opts=Te.extend(!0,{},Te.extend({},s.DEFAULTS,n,"object"==typeof t&&t));var r=JSON.stringify(this.opts);Te.FE.OPTS_MAPPING[r]=Te.FE.OPTS_MAPPING[r]||this.id,this.sid=Te.FE.OPTS_MAPPING[r],Te.FE.SHARED[this.sid]=Te.FE.SHARED[this.sid]||{},this.shared=Te.FE.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=Te(e),this.$oel.data("froala.editor",this),this.o_doc=e.ownerDocument,this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow;var i=Te(this.o_win).scrollTop();this.$oel.on("froala.doInit",Te.proxy(function(){this.$oel.off("froala.doInit"),this.doc=this.$el.get(0).ownerDocument,this.win="defaultView"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=Te(this.doc),this.$win=Te(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(Te.FE.PLUGINS)),this.opts.initOnClick?(this.load(Te.FE.MODULES),this.$el.on("touchstart.init",function(){Te(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){Te(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",Te.proxy(function(e){if("touchend"==e.type&&!this.$el.data("touched"))return!0;if(1===e.which||!e.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init"),this.load(Te.FE.MODULES),this.load(Te.FE.PLUGINS);var t=e.originalEvent&&e.originalEvent.originalTarget;t&&"IMG"==t.tagName&&Te(t).trigger("mousedown"),"undefined"==typeof this.ul&&this.destroy(),"touchend"==e.type&&this.image&&e.originalEvent&&e.originalEvent.target&&Te(e.originalEvent.target).is("img")&&setTimeout(Te.proxy(function(){this.image.edit(Te(e.originalEvent.target))},this),100),this.ready=!0,this.events.trigger("initialized")}},this)),this.events.trigger("initializationDelayed")):(this.load(Te.FE.MODULES),this.load(Te.FE.PLUGINS),Te(this.o_win).scrollTop(i),"undefined"==typeof this.ul&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))},this)),this._init()};s.DEFAULTS={initOnClick:!1,pluginsEnabled:null},s.MODULES={},s.PLUGINS={},s.VERSION="2.9.7",s.INSTANCES=[],s.OPTS_MAPPING={},s.SHARED={},s.ID=0,s.prototype._init=function(){var e=this.$oel.prop("tagName");this.$oel.closest("label").length;var t=Te.proxy(function(){"TEXTAREA"!=e&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=Te('',provider:"youtube"},{test_regex:/^.*(?:vimeo.com)\/(?:channels(\/\w+\/)?|groups\/*\/videos\/\u200b\d+\/|video\/|)(\d+)(?:$|\/|\?)/,url_regex:/(?:https?:\/\/)?(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?(\/[a-zA-Z0-9_\-]+)?/i,url_text:"https://player.vimeo.com/video/$1",html:'',provider:"vimeo"},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"https://www.dailymotion.com/embed/video/$1",html:'',provider:"dailymotion"},{test_regex:/^.+(screen.yahoo.com)\/[^_&]+/,url_regex:"",url_text:"",html:'',provider:"yahoo"},{test_regex:/^.+(rutube.ru)\/[^_&]+/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:rutube\.ru)\/(?:video)?\/?(.+)/g,url_text:"https://rutube.ru/play/embed/$1",html:'',provider:"rutube"},{test_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\/(?:watch)?\/?([^.&/]+)\/?(?:[^_.&]+)?/g,url_text:"https://play.vidyard.com/$1",html:'',provider:"vidyard"},{test_regex:/^(http(s)?:\/\/|www\.).*(\.mp4|\.mkv|\.mpg|\.mp2|\.mpeg|\.mpv|\.m4p|\.m4v|\.webm|\.ogg|\.ogv|\.avi|\.wmv|\.mov|\.flv|\.swf)$/,url_regex:"",url_text:"",html:'',provider:"unknown"}],Te.FE.VIDEO_EMBED_REGEX=/^\W*(((\s|\n)*<\/iframe>)|())\W*$/i,Te.FE.PLUGINS.video=function(p){var s,c,f,u,r,n,l="https://i.froala.com/upload",d=2,h=3,g=4,m=5,v=6,i={};function E(){var e=p.popups.get("video.insert");e.find(".fr-video-by-url-layer input").val("").trigger("change");var t=e.find(".fr-video-embed-layer textarea");t.val("").trigger("change"),(t=e.find(".fr-video-upload-layer input")).val("").trigger("change")}function a(){var e=p.popups.get("video.edit");if(e||(e=function(){var e="";if(0',e+=p.button.buildList(p.opts.videoEditButtons);var t={buttons:e+=""},n=p.popups.create("video.edit",t);return p.events.$on(p.$wp,"scroll.video-edit",function(){u&&p.popups.isVisible("video.edit")&&(p.events.disableBlur(),L(u))}),n}return!1}()),e){p.popups.setContainer("video.edit",p.$sc),p.popups.refresh("video.edit");var t=u.find("iframe, embed, video"),n=t.offset().left+t.outerWidth()/2,r=t.offset().top+t.outerHeight();p.popups.show("video.edit",n,r,t.outerHeight())}}function o(e){if(e)return p.popups.onRefresh("video.insert",E),p.popups.onHide("image.insert",X),!0;var t="";p.opts.videoUpload||-1===p.opts.videoInsertButtons.indexOf("videoUpload")||p.opts.videoInsertButtons.splice(p.opts.videoInsertButtons.indexOf("videoUpload"),1);var n=p.button.buildList(p.opts.videoInsertButtons);""!==n&&(t='
'+n+"
");var r,i="",a=p.opts.videoInsertButtons.indexOf("videoUpload"),o=p.opts.videoInsertButtons.indexOf("videoByURL"),s=p.opts.videoInsertButtons.indexOf("videoEmbed");0<=o&&(r=" fr-active",(a
");var l="";0<=s&&(r=" fr-active",(a
");var d="";0<=a&&(r=" fr-active",(s'+p.language.translate("Drop video")+"
("+p.language.translate("or click")+')
');var c={buttons:t,by_url_layer:i,embed_layer:l,upload_layer:d,progress_bar:'

Uploading

'},f=p.popups.create("video.insert",c);return function(r){p.events.$on(r,"dragover dragenter",".fr-video-upload-layer",function(){return Te(this).addClass("fr-drop"),!1},!0),p.events.$on(r,"dragleave dragend",".fr-video-upload-layer",function(){return Te(this).removeClass("fr-drop"),!1},!0),p.events.$on(r,"drop",".fr-video-upload-layer",function(e){e.preventDefault(),e.stopPropagation(),Te(this).removeClass("fr-drop");var t=e.originalEvent.dataTransfer;if(t&&t.files){var n=r.data("instance")||p;n.events.disableBlur(),n.video.upload(t.files),n.events.enableBlur()}},!0),p.helpers.isIOS()&&p.events.$on(r,"touchstart",'.fr-video-upload-layer input[type="file"]',function(){Te(this).trigger("click")},!0);p.events.$on(r,"change",'.fr-video-upload-layer input[type="file"]',function(){if(this.files){var e=r.data("instance")||p;e.events.disableBlur(),r.find("input:focus").blur(),e.events.enableBlur(),e.video.upload(this.files)}Te(this).val("")},!0)}(f),f}function b(e){p.events.focus(!0),p.selection.restore();var t=!1;u&&(V(),t=!0),p.html.insert(''+e+"",!1,p.opts.videoSplitHTML),p.popups.hide("video.insert");var n=p.$el.find(".fr-jiv");n.removeClass("fr-jiv"),n.toggleClass("fr-rv",p.opts.videoResponsive),q(n,p.opts.videoDefaultDisplay,p.opts.videoDefaultAlign),n.toggleClass("fr-draggable",p.opts.videoMove),p.events.trigger(t?"video.replaced":"video.inserted",[n])}function T(){var e=Te(this);p.popups.hide("video.insert"),e.removeClass("fr-uploading"),e.parent().next().is("br")&&e.parent().next().remove(),L(e.parent()),p.events.trigger("video.loaded",[e.parent()])}function A(s,e,l,d,c){p.edit.off(),R("Loading video"),e&&(s=p.helpers.sanitizeURL(s));C("Loading video"),function(){var e,t;if(d){p.undo.canDo()||d.find("video").hasClass("fr-uploading")||p.undo.saveStep();var n=d.find("video").data("fr-old-src"),r=d.data("fr-replaced");d.data("fr-replaced",!1),p.$wp?((e=d.clone()).find("video").removeData("fr-old-src").removeClass("fr-uploading"),e.find("video").off("canplay"),n&&d.find("video").attr("src",n),d.replaceWith(e)):e=d;for(var i=e.find("video").get(0).attributes,a=0;a");o.toggleClass("fr-draggable",p.opts.videoMove),p.edit.on(),p.events.focus(!0),p.selection.restore(),p.undo.saveStep(),p.opts.videoSplitHTML?p.markers.split():p.markers.insert(),p.html.wrap();var s=p.$el.find(".fr-marker");return p.node.isLastSibling(s)&&s.parent().hasClass("fr-deletable")&&s.insertAfter(s.parent()),s.replaceWith(o),p.selection.clear(),o.find("video").get(0).readyState>o.find("video").get(0).HAVE_FUTURE_DATA||p.helpers.isIOS()?n.call(o.find("video").get(0)):o.find("video").on("canplaythrough load",n),o}(s,l,T),F(),p.undo.saveStep(),p.events.trigger("video.inserted",[e,c])}()}function C(e){var t=p.popups.get("video.insert");if(t||(t=o()),t.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").addClass("fr-active"),t.find(".fr-buttons").hide(),u){var n=u.find("video");p.popups.setContainer("video.insert",p.$sc);var r=n.offset().left+n.width()/2,i=n.offset().top+n.height();p.popups.show("video.insert",r,i,n.outerHeight())}void 0===e&&R(p.language.translate("Uploading"),0)}function S(e){var t=p.popups.get("video.insert");if(t&&(t.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),t.find(".fr-video-progress-bar-layer").removeClass("fr-active"),t.find(".fr-buttons").show(),e||p.$el.find("video.fr-error").length)){if(p.events.focus(),p.$el.find("video.fr-error").length&&(p.$el.find("video.fr-error").parent().remove(),p.undo.saveStep(),p.undo.run(),p.undo.dropRedo()),!p.$wp&&u){var n=u;B(!0),p.selection.setAfter(n.find("video").get(0)),p.selection.restore()}p.popups.hide("video.insert")}}function R(e,t){var n=p.popups.get("video.insert");if(n){var r=n.find(".fr-video-progress-bar-layer");r.find("h3").text(e+(t?" "+t+"%":"")),r.removeClass("fr-error"),t?(r.find("div").removeClass("fr-indeterminate"),r.find("div > span").css("width",t+"%")):r.find("div").addClass("fr-indeterminate")}}function y(e){C();var t=p.popups.get("video.insert").find(".fr-video-progress-bar-layer");t.addClass("fr-error");var n=t.find("h3");n.text(e),p.events.disableBlur(),n.focus()}function L(e){$.call(e.get(0))}function _(e){R("Loading video");var t=this.status,n=this.response,r=this.responseXML,i=this.responseText;try{if(p.opts.videoUploadToS3)if(201==t){var a=function(e){try{var t=Te(e).find("Location").text(),n=Te(e).find("Key").text();return!1===p.events.trigger("video.uploadedToS3",[t,n,e],!0)?(p.edit.on(),!1):t}catch(r){return H(g,e),!1}}(r);a&&A(a,!1,[],e,n||r)}else H(g,n||r);else if(200<=t&&t<300){var o=function(e){try{if(!1===p.events.trigger("video.uploaded",[e],!0))return p.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(H(d,e),!1)}catch(n){return H(g,e),!1}}(i);o&&A(o.link,!1,o,e,n||i)}else H(h,n||i)}catch(s){H(g,n||i)}}function N(){H(g,this.response||this.responseText||this.responseXML)}function x(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;R(p.language.translate("Uploading"),t)}}function w(){p.edit.on(),S(!0)}function O(e){if(!p.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;if("mousedown"==e.type){var r=p.$oel.get(0).ownerDocument,i=r.defaultView||r.parentWindow,a=!1;try{a=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(o){}a&&i.frameElement&&(t+=p.helpers.getPX(Te(i.frameElement).offset().left)+i.frameElement.clientLeft,n=e.clientY+p.helpers.getPX(Te(i.frameElement).offset().top)+i.frameElement.clientTop)}p.undo.canDo()||p.undo.saveStep(),(c=Te(this)).data("start-x",t),c.data("start-y",n),s.show(),p.popups.hideAll(),P()}function I(e){if(!p.core.sameInstance(f))return!0;if(c){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),n=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!n)return!1;var r=c.data("start-x"),i=c.data("start-y");c.data("start-x",t),c.data("start-y",n);var a=t-r,o=n-i,s=u.find("iframe, embed, video"),l=s.width(),d=s.height();(c.hasClass("fr-hnw")||c.hasClass("fr-hsw"))&&(a=0-a),(c.hasClass("fr-hnw")||c.hasClass("fr-hne"))&&(o=0-o),s.css("width",l+a),s.css("height",d+o),s.removeAttr("width"),s.removeAttr("height"),M()}}function k(e){if(!p.core.sameInstance(f))return!0;c&&u&&(e&&e.stopPropagation(),c=null,s.hide(),M(),a(),p.undo.saveStep())}function t(e){return'
'}function D(e,t,n,r){return e.pageX=t,e.pageY=t,O.call(this,e),e.pageX=e.pageX+n*Math.floor(Math.pow(1.1,r)),e.pageY=e.pageY+n*Math.floor(Math.pow(1.1,r)),I.call(this,e),k.call(this,e),++r}function F(){var e,t=Array.prototype.slice.call(p.el.querySelectorAll("video, .fr-video > *")),n=[];for(e=0;e'),f=p.shared.$video_resizer,p.events.$on(f,"mousedown",function(e){e.stopPropagation()},!0),p.opts.videoResize&&(f.append(t("nw")+t("ne")+t("sw")+t("se")),p.shared.$vid_overlay=Te('
'),s=p.shared.$vid_overlay,e=f.get(0).ownerDocument,Te(e).find("body:first").append(s))),p.events.on("shared.destroy",function(){f.html("").removeData().remove(),f=null,p.opts.videoResize&&(s.remove(),s=null)},!0),p.helpers.isMobile()||p.events.$on(Te(p.o_win),"resize.video",function(){B(!0)}),p.opts.videoResize){e=f.get(0).ownerDocument,p.events.$on(f,p._mousedown,".fr-handler",O),p.events.$on(Te(e),p._mousemove,I),p.events.$on(Te(e.defaultView||e.parentWindow),p._mouseup,k),p.events.$on(s,"mouseleave",k);var r=1,i=null,a=0;p.events.on("keydown",function(e){if(u){var t=-1!=navigator.userAgent.indexOf("Mac OS X")?e.metaKey:e.ctrlKey,n=e.which;(n!==i||200p.opts.videoMaxSize)return H(m),!1;if(p.opts.videoAllowedTypes.indexOf(n.type.replace(/video\//g,""))<0)return H(v),!1;if((null===p.opts.videoUploadURL||p.opts.videoUploadURL==l)&&!p.opts.videoUploadToS3)return function(t){u&&u.find("iframe")&&u.find("iframe").length&&V();var n=new FileReader;n.onload=function(){var e=n.result;A(e=window.URL.createObjectURL(new Blob([e],{type:t.type})),!1,null,u)},C(),n.readAsArrayBuffer(t)}(n),!1;if(p.drag_support.formdata&&(t=p.drag_support.formdata?new FormData:null),t){var r;if(!1!==p.opts.videoUploadToS3)for(r in t.append("key",p.opts.videoUploadToS3.keyStart+(new Date).getTime()+"-"+(n.name||"untitled")),t.append("success_action_status","201"),t.append("X-Requested-With","xhr"),t.append("Content-Type",n.type),p.opts.videoUploadToS3.params)p.opts.videoUploadToS3.params.hasOwnProperty(r)&&t.append(r,p.opts.videoUploadToS3.params[r]);for(r in p.opts.videoUploadParams)p.opts.videoUploadParams.hasOwnProperty(r)&&t.append(r,p.opts.videoUploadParams[r]);t.append(p.opts.videoUploadParam,n);var i=p.opts.videoUploadURL;p.opts.videoUploadToS3&&(i=p.opts.videoUploadToS3.uploadURL?p.opts.videoUploadToS3.uploadURL:"https://"+p.opts.videoUploadToS3.region+".amazonaws.com/"+p.opts.videoUploadToS3.bucket);var a=p.core.getXHR(i,p.opts.videoUploadMethod);a.onload=function(){_.call(a,u)},a.onerror=N,a.upload.onprogress=x,a.onabort=w,C(),p.events.disableBlur(),p.edit.off(),p.events.enableBlur();var o=p.popups.get("video.insert");o&&o.off("abortUpload").on("abortUpload",function(){4!=a.readyState&&a.abort()}),a.send(t)}}}function H(e,t){p.edit.on(),u&&u.find("video").addClass("fr-error"),y(p.language.translate("Something went wrong. Please try again.")),p.events.trigger("video.error",[{code:e,message:i[e]},t])}function W(){if(u){var e=p.popups.get("video.size"),t=u.find("iframe, embed, video");e.find('input[name="width"]').val(t.get(0).style.width||t.attr("width")).trigger("change"),e.find('input[name="height"]').val(t.get(0).style.height||t.attr("height")).trigger("change")}}function z(e){if(e)return p.popups.onRefresh("video.size",W),!0;var t={buttons:'
'+p.button.buildList(p.opts.videoSizeButtons)+"
",size_layer:'
"},n=p.popups.create("video.size",t);return p.events.$on(p.$wp,"scroll",function(){u&&p.popups.isVisible("video.size")&&(p.events.disableBlur(),L(u))}),n}function Y(e){if(void 0===e&&(e=u),e){if(e.hasClass("fr-fvl"))return"left";if(e.hasClass("fr-fvr"))return"right";if(e.hasClass("fr-dvb")||e.hasClass("fr-dvi"))return"center";if("block"==e.css("display")){if("left"==e.css("text-algin"))return"left";if("right"==e.css("text-align"))return"right"}else{if("left"==e.css("float"))return"left";if("right"==e.css("float"))return"right"}}return"center"}function G(e){void 0===e&&(e=u);var t=e.css("float");return e.css("float","none"),"block"==e.css("display")?(e.css("float",""),e.css("float")!=t&&e.css("float",t),"block"):(e.css("float",""),e.css("float")!=t&&e.css("float",t),"inline")}function V(){if(u&&!1!==p.events.trigger("video.beforeRemove",[u])){var e=u;p.popups.hideAll(),B(!0),p.selection.setBefore(e.get(0))||p.selection.setAfter(e.get(0)),e.remove(),p.selection.restore(),p.html.fillEmptyBlocks()}}function X(){S()}function q(e,t,n){!p.opts.htmlUntouched&&p.opts.useClasses?(e.removeClass("fr-fvl fr-fvr fr-dvb fr-dvi"),e.addClass("fr-fv"+n[0]+" fr-dv"+t[0])):"inline"==t?(e.css({display:"inline-block"}),"center"==n?e.css({"float":"none"}):"left"==n?e.css({"float":"left"}):e.css({"float":"right"})):(e.css({display:"block",clear:"both"}),"left"==n?e.css({textAlign:"left"}):"right"==n?e.css({textAlign:"right"}):e.css({textAlign:"center"}))}function j(){p.$el.find("video").filter(function(){return 0===Te(this).parents("span.fr-video").length}).wrap(''),p.$el.find("embed, iframe").filter(function(){if(p.browser.safari&&this.getAttribute("src")&&this.setAttribute("src",this.src),0');for(var e,t,n=p.$el.find("span.fr-video, video"),r=0;r *:first").replaceWith(p.icon.create("video-align-"+Y()))},refreshAlignOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+Y()+'"]').addClass("fr-active").attr("aria-selected",!0)},display:function(e){u.removeClass("fr-dvi fr-dvb"),!p.opts.htmlUntouched&&p.opts.useClasses?"inline"==e?u.addClass("fr-dvi"):"block"==e&&u.addClass("fr-dvb"):q(u,e,Y()),Q(),M(),a(),p.selection.clear()},refreshDisplayOnShow:function(e,t){u&&t.find('.fr-command[data-param1="'+G()+'"]').addClass("fr-active").attr("aria-selected",!0)},remove:V,hideProgressBar:S,showSizePopup:function(){var e=p.popups.get("video.size");e||(e=z()),S(),p.popups.refresh("video.size"),p.popups.setContainer("video.size",p.$sc);var t=u.find("iframe, embed, video"),n=t.offset().left+t.width()/2,r=t.offset().top+t.height();p.popups.show("video.size",n,r,t.height())},replace:function(){var e=p.popups.get("video.insert");e||(e=o()),p.popups.isVisible("video.insert")||(S(),p.popups.refresh("video.insert"),p.popups.setContainer("video.insert",p.$sc));var t=u.offset().left+u.width()/2,n=u.offset().top+u.height();p.popups.show("video.insert",t,n,u.outerHeight())},back:function(){u?(p.events.disableBlur(),u.trigger("click")):(p.events.disableBlur(),p.selection.restore(),p.events.enableBlur(),p.popups.hide("video.insert"),p.toolbar.showInline())},setSize:function(e,t){if(u){var n=p.popups.get("video.size"),r=u.find("iframe, embed, video");r.css("width",e||n.find('input[name="width"]').val()),r.css("height",t||n.find('input[name="height"]').val()),r.get(0).style.width&&r.removeAttr("width"),r.get(0).style.height&&r.removeAttr("height"),n.find("input:focus").blur(),setTimeout(function(){u.trigger("click")},p.helpers.isAndroid()?50:0)}},get:function(){return u},showProgressBar:C}},Te.FE.RegisterCommand("insertVideo",{title:"Insert Video",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible("video.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("video.insert")):this.video.showInsertPopup()},plugin:"video"}),Te.FE.DefineIcon("insertVideo",{NAME:"video-camera",FA5NAME:"camera"}),Te.FE.DefineIcon("videoByURL",{NAME:"link"}),Te.FE.RegisterCommand("videoByURL",{title:"By URL",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-by-url")},refresh:function(e){this.video.refreshByURLButton(e)}}),Te.FE.DefineIcon("videoEmbed",{NAME:"code"}),Te.FE.RegisterCommand("videoEmbed",{title:"Embedded Code",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-embed")},refresh:function(e){this.video.refreshEmbedButton(e)}}),Te.FE.DefineIcon("videoUpload",{NAME:"upload"}),Te.FE.RegisterCommand("videoUpload",{title:"Upload Video",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer("video-upload")},refresh:function(e){this.video.refreshUploadButton(e)}}),Te.FE.RegisterCommand("videoInsertByURL",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),Te.FE.RegisterCommand("videoInsertEmbed",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),Te.FE.DefineIcon("videoDisplay",{NAME:"star"}),Te.FE.RegisterCommand("videoDisplay",{title:"Display",type:"dropdown",options:{inline:"Inline",block:"Break Text"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass("fr-hidden")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),Te.FE.DefineIcon("video-align",{NAME:"align-left"}),Te.FE.DefineIcon("video-align-left",{NAME:"align-left"}),Te.FE.DefineIcon("video-align-right",{NAME:"align-right"}),Te.FE.DefineIcon("video-align-center",{NAME:"align-justify"}),Te.FE.DefineIcon("videoAlign",{NAME:"align-center"}),Te.FE.RegisterCommand("videoAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var e='"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),Te.FE.DefineIcon("videoReplace",{NAME:"exchange",FA5NAME:"exchange-alt"}),Te.FE.RegisterCommand("videoReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),Te.FE.DefineIcon("videoRemove",{NAME:"trash"}),Te.FE.RegisterCommand("videoRemove",{title:"Remove",callback:function(){this.video.remove()}}),Te.FE.DefineIcon("videoSize",{NAME:"arrows-alt"}),Te.FE.RegisterCommand("videoSize",{undo:!1,focus:!1,popup:!0,title:"Change Size",callback:function(){this.video.showSizePopup()}}),Te.FE.DefineIcon("videoBack",{NAME:"arrow-left"}),Te.FE.RegisterCommand("videoBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass("fr-hidden"),e.next(".fr-separator").removeClass("fr-hidden")):(e.addClass("fr-hidden"),e.next(".fr-separator").addClass("fr-hidden"))}}),Te.FE.RegisterCommand("videoDismissError",{title:"OK",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),Te.FE.RegisterCommand("videoSetSize",{undo:!0,focus:!1,title:"Update",refreshAfterCallback:!1,callback:function(){this.video.setSize()}}),Te.extend(Te.FE.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:["font-family","font-size","background","color","width","text-align","vertical-align","background-color","padding","margin","height","margin-top","margin-left","margin-right","margin-bottom","text-decoration","font-weight","font-style","text-indent","border","border-.*","line-height","list-style-type"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),Te.FE.PLUGINS.wordPaste=function(T){var a,r,o="word_paste";function t(e){var t=T.opts.wordAllowedStyleProps;e||(T.opts.wordAllowedStyleProps=[]),0===r.indexOf("")&&(r=""+r+"
"),r=function(e,t){0<=e.indexOf("]*(]*>[.\s\S\w\W<>]*<\/html>)[.\s\S\w\W<>]*/i,"$1"));!function(e){for(var t=e.split("v:shape"),n=1;n').remove()}}(e,t),!0});for(var a=i.querySelectorAll("ul > ul, ul > ol, ol > ul, ol > ol"),o=a.length-1;0<=o;o--)a[o].previousElementSibling&&"LI"===a[o].previousElementSibling.tagName&&a[o].previousElementSibling.appendChild(a[o]);c(i,function(t){if(t.nodeType==Node.TEXT_NODE)return t.data=t.data.replace(/
(\n|\r)/gi,"
"),!1;if(t.nodeType==Node.ELEMENT_NODE){if(S(t)){var n=t.parentNode,r=t.previousSibling,i=function e(t,n,r){t.firstElementChild.innerHTML=t.firstElementChild&&t.firstElementChild.innerHTML.replace(/\r?\n|\r/g,"");var i=/[0-9a-zA-Z\\xa7\s]/gi;var a=!1;var o=t.querySelector('span[style="mso-list:Ignore"]');var s;var l;var d;var c;var f;var p;var u;var h=navigator.userAgent.toLowerCase();var g;var m="";var v;-1!=h.indexOf("safari")&&(h=-1':"<"+p+">"):"list-style-type: lower-alpha;"==u?(E=g.charCodeAt(0)-96,v=u?"<"+p+m+' style = "'+u+'" start="'+E+'">':"<"+p+">"):v=u?"<"+p+m+' style = "'+u+'">':"<"+p+">";for(;t;){if(!S(t)){if(t.outerHTML&&0"+c+""):(f=e(t,n,b),v+=f.el.outerHTML,t=f.currentNode);var T=t&&t.nextElementSibling;T&&(s=T.previousElementSibling),t&&t.parentNode&&t.parentNode.removeChild(t),t=T}}v+="";var A=document.createElement("div");A.innerHTML=v;var C=A.firstElementChild;return{el:C,currentNode:t}}(t,s).el,a=null;return(a=r?r.nextSibling:n.firstChild)?n.insertBefore(i,a):n.appendChild(i),!1}return"FONT"===t.tagName&&s["."+t.getAttribute("class")]&&(t=v(t,"span")),p(t,s)}if(t.nodeType==Node.COMMENT_NODE){if(-1([\r\n\u00a0 ]*)<\/span>/g,function(e,t){for(var n="",r=0;r++/gi,"")}function v(e,t){for(var n=document.createElement(t),r=0;r");for(var o=n.firstElementChild,s=1==n.children.length;o;)"P"!=o.tagName||S(o)||s&&C(o),o=o.nextElementSibling;if(t){var l=n.getAttribute("class");if(l){var d=(l=y(l)).match(/xl[0-9]+/gi);if(d){var c="."+d[0];t[c]&&("TD"===n.tagName&&(t[c]=t[c].replace(/(border[^:]*:)(\d*\.\d*)(pt)/g,function(e,t,n,r){return[t,Math.round(2*parseFloat(n)),r].join("")})),L(n,t[c]))}}t.td&&L(n,t.td)}var f=n.getAttribute("style");f&&(f=y(f))&&";"!=f.slice(-1)&&(f+=";");var p=n.getAttribute("valign");if(!p&&f){var u=f.match(/vertical-align:.+?[; "]{1,1}/gi);u&&(p=u[u.length-1].replace(/vertical-align:(.+?)[; "]{1,1}/gi,"$1"))}var h=null;if(f){var g=f.match(/text-align:.+?[; "]{1,1}/gi);g&&(h=g[g.length-1].replace(/text-align:(.+?)[; "]{1,1}/gi,"$1")),"general"==h&&(h=null)}var m=null;if(f){var v=f.match(/background:.+?[; "]{1,1}/gi);v&&(m=v[v.length-1].replace(/background:(.+?)[; "]{1,1}/gi,"$1"))}var E=n.getAttribute("colspan"),b=n.getAttribute("rowspan");E&&n.setAttribute("colspan",E),b&&n.setAttribute("rowspan",b),p&&(n.style["vertical-align"]=p),h&&(n.style["text-align"]=h),m&&(n.style["background-color"]=m),a&&n.setAttribute("width",a),n=n.nextElementSibling}for(n=e.firstElementChild;n;)a=n.getAttribute("width"),i?n.removeAttribute("width"):n.setAttribute("width",100*parseInt(a,10)/r+"%"),n=n.nextElementSibling}(e,t),"A"!=n||e.attributes.getNamedItem("href")||e.attributes.getNamedItem("name")||!e.innerHTML||(e.outerHTML=e.innerHTML),"A"==n&&e.getAttribute("href")&&e.querySelector("img")){var g=e.querySelectorAll("span");for(i=0;i"),"TABLE"==n&&(e.style.width=e.style.width),e.getAttribute("lang")&&e.removeAttribute("lang"),e.getAttribute("style")&&-1!=e.getAttribute("style").toLowerCase().indexOf("mso")){var m=y(e.getAttribute("style"));(m=m.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,""))?e.setAttribute("style",m):e.removeAttribute("style")}return!0}var h={};return{_init:function(){T.events.on("paste.wordPaste",function(e){return r=e,T.opts.wordPasteModal?function(){if(!a){var e='

'+T.language.translate("Word Paste Detected")+"

",t=(i='
',i+='

'+T.language.translate("The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?")+"

",i+='
",i+="
"),n=T.modals.create(o,e,t),r=n.$body;a=n.$modal,n.$modal.addClass("fr-middle"),T.events.bindClick(r,"button.fr-remove-word",function(){var e=a.data("instance")||T;e.wordPaste.clean()}),T.events.bindClick(r,"button.fr-keep-word",function(){var e=a.data("instance")||T;e.wordPaste.clean(!0)}),T.events.$on(Te(T.o_win),"resize",function(){T.modals.resize(o)})}var i;T.modals.show(o),T.modals.resize(o)}():t(T.opts.wordPasteKeepFormatting),!1})},clean:t}}}); \ No newline at end of file diff --git a/js/languages/ar.js b/js/languages/ar.js index 335bacd34..b42a38c28 100644 --- a/js/languages/ar.js +++ b/js/languages/ar.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/bs.js b/js/languages/bs.js index c9917a73a..45567fab0 100644 --- a/js/languages/bs.js +++ b/js/languages/bs.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/cs.js b/js/languages/cs.js index 715fd26d4..c26b4e0dd 100644 --- a/js/languages/cs.js +++ b/js/languages/cs.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/da.js b/js/languages/da.js index 4e14f427d..36f2be600 100644 --- a/js/languages/da.js +++ b/js/languages/da.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/de.js b/js/languages/de.js index 6a5a30bd1..c2289ffc3 100644 --- a/js/languages/de.js +++ b/js/languages/de.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/el.js b/js/languages/el.js index e20f0e078..9832ae52a 100644 --- a/js/languages/el.js +++ b/js/languages/el.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/en_ca.js b/js/languages/en_ca.js index 5935d447f..6430bf4fc 100644 --- a/js/languages/en_ca.js +++ b/js/languages/en_ca.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/en_gb.js b/js/languages/en_gb.js index 5b2c02104..61cdcefe7 100644 --- a/js/languages/en_gb.js +++ b/js/languages/en_gb.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/es.js b/js/languages/es.js index 6adfd9c82..cc538320d 100644 --- a/js/languages/es.js +++ b/js/languages/es.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/et.js b/js/languages/et.js index d83eb8f53..74fc3372a 100644 --- a/js/languages/et.js +++ b/js/languages/et.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/fa.js b/js/languages/fa.js index 0e668245c..63424679a 100644 --- a/js/languages/fa.js +++ b/js/languages/fa.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/fi.js b/js/languages/fi.js index cbdd5934f..9f29f4108 100644 --- a/js/languages/fi.js +++ b/js/languages/fi.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/fr.js b/js/languages/fr.js index 5f1d77950..5f7718ae3 100644 --- a/js/languages/fr.js +++ b/js/languages/fr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/he.js b/js/languages/he.js index 4ccec0c8e..1a00c9f7d 100644 --- a/js/languages/he.js +++ b/js/languages/he.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/hr.js b/js/languages/hr.js index 6d6ac2693..6541935d4 100644 --- a/js/languages/hr.js +++ b/js/languages/hr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/hu.js b/js/languages/hu.js index 05434608f..b0d420e97 100644 --- a/js/languages/hu.js +++ b/js/languages/hu.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/id.js b/js/languages/id.js index c73349850..17fff3210 100644 --- a/js/languages/id.js +++ b/js/languages/id.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/it.js b/js/languages/it.js index e64f170af..dc14ea7f2 100644 --- a/js/languages/it.js +++ b/js/languages/it.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/ja.js b/js/languages/ja.js index 491bc54e1..598d6b773 100644 --- a/js/languages/ja.js +++ b/js/languages/ja.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/ko.js b/js/languages/ko.js index b54fcba32..26a2afc87 100644 --- a/js/languages/ko.js +++ b/js/languages/ko.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/ku.js b/js/languages/ku.js index 81a611d15..9dab82226 100644 --- a/js/languages/ku.js +++ b/js/languages/ku.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/me.js b/js/languages/me.js index c1005e56a..7fe59a94d 100644 --- a/js/languages/me.js +++ b/js/languages/me.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/nb.js b/js/languages/nb.js index 16c960800..64a3d174c 100644 --- a/js/languages/nb.js +++ b/js/languages/nb.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/nl.js b/js/languages/nl.js index d56755375..ad5109c0c 100644 --- a/js/languages/nl.js +++ b/js/languages/nl.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/pl.js b/js/languages/pl.js index d9c8d8b20..d53c67640 100644 --- a/js/languages/pl.js +++ b/js/languages/pl.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/pt_br.js b/js/languages/pt_br.js index 94dfb51d4..96802b829 100644 --- a/js/languages/pt_br.js +++ b/js/languages/pt_br.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/pt_pt.js b/js/languages/pt_pt.js index 9b83139e0..e80fdf209 100644 --- a/js/languages/pt_pt.js +++ b/js/languages/pt_pt.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/ro.js b/js/languages/ro.js index 1c7063d8d..12e6685b3 100644 --- a/js/languages/ro.js +++ b/js/languages/ro.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/ru.js b/js/languages/ru.js index 9ec2f4446..d9b0e06cd 100644 --- a/js/languages/ru.js +++ b/js/languages/ru.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/sk.js b/js/languages/sk.js index 014fb11fe..5fbcd219e 100644 --- a/js/languages/sk.js +++ b/js/languages/sk.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/sr.js b/js/languages/sr.js index d98c780c7..38551925b 100644 --- a/js/languages/sr.js +++ b/js/languages/sr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/sv.js b/js/languages/sv.js index 2eedcc556..18d272e9f 100644 --- a/js/languages/sv.js +++ b/js/languages/sv.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/th.js b/js/languages/th.js index 9367b5bf5..1ea922dd3 100644 --- a/js/languages/th.js +++ b/js/languages/th.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/tr.js b/js/languages/tr.js index cc5a211de..54a7b13e2 100644 --- a/js/languages/tr.js +++ b/js/languages/tr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/uk.js b/js/languages/uk.js index 7f08f21af..f60fe0127 100644 --- a/js/languages/uk.js +++ b/js/languages/uk.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/vi.js b/js/languages/vi.js index 3eff11d26..b29f12616 100644 --- a/js/languages/vi.js +++ b/js/languages/vi.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/zh_cn.js b/js/languages/zh_cn.js index 84bc41349..d0d8ab87b 100644 --- a/js/languages/zh_cn.js +++ b/js/languages/zh_cn.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/languages/zh_tw.js b/js/languages/zh_tw.js index c8fba9bac..fd62eee9d 100644 --- a/js/languages/zh_tw.js +++ b/js/languages/zh_tw.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/align.min.js b/js/plugins/align.min.js index 6ad1beb0e..9705f8ad1 100644 --- a/js/plugins/align.min.js +++ b/js/plugins/align.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/char_counter.min.js b/js/plugins/char_counter.min.js index a2d809e07..a81616f4d 100644 --- a/js/plugins/char_counter.min.js +++ b/js/plugins/char_counter.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/code_beautifier.min.js b/js/plugins/code_beautifier.min.js index 73f748e5c..36d3c5683 100644 --- a/js/plugins/code_beautifier.min.js +++ b/js/plugins/code_beautifier.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/code_view.min.js b/js/plugins/code_view.min.js index 88d58f0fd..e31feb690 100644 --- a/js/plugins/code_view.min.js +++ b/js/plugins/code_view.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/colors.min.js b/js/plugins/colors.min.js index 13cb37314..22e3bc976 100644 --- a/js/plugins/colors.min.js +++ b/js/plugins/colors.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/draggable.min.js b/js/plugins/draggable.min.js index 23e0fb2be..908492033 100644 --- a/js/plugins/draggable.min.js +++ b/js/plugins/draggable.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/emoticons.min.js b/js/plugins/emoticons.min.js index 2572c0070..a0fcbf331 100644 --- a/js/plugins/emoticons.min.js +++ b/js/plugins/emoticons.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/entities.min.js b/js/plugins/entities.min.js index f4f3e1a06..1e2b6b0de 100644 --- a/js/plugins/entities.min.js +++ b/js/plugins/entities.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/file.min.js b/js/plugins/file.min.js index 12a895ad0..9586c6be0 100644 --- a/js/plugins/file.min.js +++ b/js/plugins/file.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/font_family.min.js b/js/plugins/font_family.min.js index 9eef648ac..a6d1de5c6 100644 --- a/js/plugins/font_family.min.js +++ b/js/plugins/font_family.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/font_size.min.js b/js/plugins/font_size.min.js index 7d4d58c30..df695c456 100644 --- a/js/plugins/font_size.min.js +++ b/js/plugins/font_size.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/forms.min.js b/js/plugins/forms.min.js index 0019a17d8..de68406d5 100644 --- a/js/plugins/forms.min.js +++ b/js/plugins/forms.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/fullscreen.min.js b/js/plugins/fullscreen.min.js index ac60072fc..5b238b99f 100644 --- a/js/plugins/fullscreen.min.js +++ b/js/plugins/fullscreen.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/help.min.js b/js/plugins/help.min.js index 698229cac..8a83f62e4 100644 --- a/js/plugins/help.min.js +++ b/js/plugins/help.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/image.min.js b/js/plugins/image.min.js index 1896c7908..be688de3e 100644 --- a/js/plugins/image.min.js +++ b/js/plugins/image.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/image_manager.min.js b/js/plugins/image_manager.min.js index 1faab4c5c..3ba191fe7 100644 --- a/js/plugins/image_manager.min.js +++ b/js/plugins/image_manager.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/inline_class.min.js b/js/plugins/inline_class.min.js index bb21575f5..e77c3e305 100644 --- a/js/plugins/inline_class.min.js +++ b/js/plugins/inline_class.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/inline_style.min.js b/js/plugins/inline_style.min.js index 9250aae51..97e8ecd6a 100644 --- a/js/plugins/inline_style.min.js +++ b/js/plugins/inline_style.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/line_breaker.min.js b/js/plugins/line_breaker.min.js index b383dbbc1..6f2836ac9 100644 --- a/js/plugins/line_breaker.min.js +++ b/js/plugins/line_breaker.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/line_height.min.js b/js/plugins/line_height.min.js index c1d57bd94..20af1cc02 100644 --- a/js/plugins/line_height.min.js +++ b/js/plugins/line_height.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/link.min.js b/js/plugins/link.min.js index a9d7e3e65..d4a78af58 100644 --- a/js/plugins/link.min.js +++ b/js/plugins/link.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/lists.min.js b/js/plugins/lists.min.js index 253951ee8..0460bdbfe 100644 --- a/js/plugins/lists.min.js +++ b/js/plugins/lists.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/paragraph_format.min.js b/js/plugins/paragraph_format.min.js index 2612113f7..288f3026c 100644 --- a/js/plugins/paragraph_format.min.js +++ b/js/plugins/paragraph_format.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/paragraph_style.min.js b/js/plugins/paragraph_style.min.js index 6e0435b70..044131e39 100644 --- a/js/plugins/paragraph_style.min.js +++ b/js/plugins/paragraph_style.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/print.min.js b/js/plugins/print.min.js index ed76d7c21..6fbd64e7f 100644 --- a/js/plugins/print.min.js +++ b/js/plugins/print.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/quick_insert.min.js b/js/plugins/quick_insert.min.js index 50f18ad95..9b610b07e 100644 --- a/js/plugins/quick_insert.min.js +++ b/js/plugins/quick_insert.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/quote.min.js b/js/plugins/quote.min.js index 71837bff9..854ba9dbb 100644 --- a/js/plugins/quote.min.js +++ b/js/plugins/quote.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/save.min.js b/js/plugins/save.min.js index 3bbe827ee..572d8a321 100644 --- a/js/plugins/save.min.js +++ b/js/plugins/save.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/special_characters.min.js b/js/plugins/special_characters.min.js index 251fccbc3..6ed6357dd 100644 --- a/js/plugins/special_characters.min.js +++ b/js/plugins/special_characters.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/table.min.js b/js/plugins/table.min.js index 6fe17f038..722d341e8 100644 --- a/js/plugins/table.min.js +++ b/js/plugins/table.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/url.min.js b/js/plugins/url.min.js index bf1f6c378..f89d36b41 100644 --- a/js/plugins/url.min.js +++ b/js/plugins/url.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/video.min.js b/js/plugins/video.min.js index 9d3d0294c..30980dcaf 100644 --- a/js/plugins/video.min.js +++ b/js/plugins/video.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/plugins/word_paste.min.js b/js/plugins/word_paste.min.js index e2dfa67ce..5999fdab9 100644 --- a/js/plugins/word_paste.min.js +++ b/js/plugins/word_paste.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/third_party/embedly.min.js b/js/third_party/embedly.min.js index 77aa99555..6a53a3c7f 100644 --- a/js/third_party/embedly.min.js +++ b/js/third_party/embedly.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/third_party/font_awesome.min.js b/js/third_party/font_awesome.min.js index 38191af0b..6e1f59c5f 100644 --- a/js/third_party/font_awesome.min.js +++ b/js/third_party/font_awesome.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/third_party/image_aviary.min.js b/js/third_party/image_aviary.min.js index fabc60ef2..d117c6dbf 100644 --- a/js/third_party/image_aviary.min.js +++ b/js/third_party/image_aviary.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/third_party/image_tui.min.js b/js/third_party/image_tui.min.js index f2983eb75..3119bc2f7 100644 --- a/js/third_party/image_tui.min.js +++ b/js/third_party/image_tui.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/js/third_party/spell_checker.min.js b/js/third_party/spell_checker.min.js index e9bb46d48..86c4907a6 100644 --- a/js/third_party/spell_checker.min.js +++ b/js/third_party/spell_checker.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.6 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.7 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2020 Froala Labs */ diff --git a/package.json b/package.json index b5705036d..2067fb0c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "froala-editor", - "version": "2.9.6", + "version": "2.9.7", "description": "A beautiful Javascript WYSIWYG HTML rich text editor made by devs for devs. High performance and modern design make it easy to use for developers and loved by users.", "keywords": [ "froala",