From 5759b5e76c350eed27d72859052ea43411049054 Mon Sep 17 00:00:00 2001 From: Froala Bot Date: Thu, 30 Apr 2020 06:54:52 +0000 Subject: [PATCH] Update to v2.9.8 --- 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 420596a34..3e0ff5d70 100644 --- a/css/froala_editor.css +++ b/css/froala_editor.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 585b82491..b8ce38c28 100644 --- a/css/froala_editor.min.css +++ b/css/froala_editor.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 17767ba37..2d3beecde 100644 --- a/css/froala_editor.pkgd.css +++ b/css/froala_editor.pkgd.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 5c668cb21..41bb7bb16 100644 --- a/css/froala_editor.pkgd.min.css +++ b/css/froala_editor.pkgd.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 230ad7e9d..582528163 100644 --- a/css/froala_style.css +++ b/css/froala_style.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 4f83db86b..3f70d586f 100644 --- a/css/froala_style.min.css +++ b/css/froala_style.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 efa3e0860..92f40fec1 100644 --- a/css/plugins/char_counter.css +++ b/css/plugins/char_counter.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 55ee17c8f..165da36f8 100644 --- a/css/plugins/char_counter.min.css +++ b/css/plugins/char_counter.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 de137e797..d9ff3b47d 100644 --- a/css/plugins/code_view.css +++ b/css/plugins/code_view.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9999761b5..70f3709db 100644 --- a/css/plugins/code_view.min.css +++ b/css/plugins/code_view.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 799f757ca..d76fd985c 100644 --- a/css/plugins/colors.css +++ b/css/plugins/colors.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c8a243208..962585bfe 100644 --- a/css/plugins/colors.min.css +++ b/css/plugins/colors.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 fda3bf7f6..e8605fda6 100644 --- a/css/plugins/draggable.css +++ b/css/plugins/draggable.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 e3e7d8bf0..12582e589 100644 --- a/css/plugins/draggable.min.css +++ b/css/plugins/draggable.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c1bff25e6..1fe5de7fc 100644 --- a/css/plugins/emoticons.css +++ b/css/plugins/emoticons.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9c0afadc9..a3b25715f 100644 --- a/css/plugins/emoticons.min.css +++ b/css/plugins/emoticons.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1b016fb8a..047ea7529 100644 --- a/css/plugins/file.css +++ b/css/plugins/file.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 5b3d20e3b..6681b9417 100644 --- a/css/plugins/file.min.css +++ b/css/plugins/file.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c259269bb..0a4f6f8a3 100644 --- a/css/plugins/fullscreen.css +++ b/css/plugins/fullscreen.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 85dd946c8..dc36e53f4 100644 --- a/css/plugins/fullscreen.min.css +++ b/css/plugins/fullscreen.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 77f9a6fde..85de80c34 100644 --- a/css/plugins/help.css +++ b/css/plugins/help.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 24d9232e0..292e6196b 100644 --- a/css/plugins/help.min.css +++ b/css/plugins/help.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9e630e0ec..c510ca8da 100644 --- a/css/plugins/image.css +++ b/css/plugins/image.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 08fc1fdc2..737bc6134 100644 --- a/css/plugins/image.min.css +++ b/css/plugins/image.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 0014afb7a..c732b642d 100644 --- a/css/plugins/image_manager.css +++ b/css/plugins/image_manager.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 510f1cdd0..ade61459d 100644 --- a/css/plugins/image_manager.min.css +++ b/css/plugins/image_manager.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 87d913939..7dc9f236a 100644 --- a/css/plugins/line_breaker.css +++ b/css/plugins/line_breaker.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 6c3d693f4..490d6ead1 100644 --- a/css/plugins/line_breaker.min.css +++ b/css/plugins/line_breaker.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 e4800b4db..d37dabc2d 100644 --- a/css/plugins/quick_insert.css +++ b/css/plugins/quick_insert.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 356747d42..c5cdafba9 100644 --- a/css/plugins/quick_insert.min.css +++ b/css/plugins/quick_insert.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 38b7ed7b4..ad8b6e0e6 100644 --- a/css/plugins/special_characters.css +++ b/css/plugins/special_characters.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 db61b7ae1..b3057ec47 100644 --- a/css/plugins/special_characters.min.css +++ b/css/plugins/special_characters.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 d83655cb1..791163b28 100644 --- a/css/plugins/table.css +++ b/css/plugins/table.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 2a6dc24ba..33af736c1 100644 --- a/css/plugins/table.min.css +++ b/css/plugins/table.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 f74391a33..c270a829f 100644 --- a/css/plugins/video.css +++ b/css/plugins/video.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 32d201003..7de7fc936 100644 --- a/css/plugins/video.min.css +++ b/css/plugins/video.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 399fc9e53..8e1ed0b74 100644 --- a/css/themes/dark.css +++ b/css/themes/dark.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 b5dd603fd..bf51f9e4c 100644 --- a/css/themes/dark.min.css +++ b/css/themes/dark.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 dca5cc492..c13426a56 100644 --- a/css/themes/gray.css +++ b/css/themes/gray.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 0e4e11ce3..4cbeffa30 100644 --- a/css/themes/gray.min.css +++ b/css/themes/gray.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 fd07754ff..4d29e738f 100644 --- a/css/themes/red.css +++ b/css/themes/red.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 859bf1221..8b5db3802 100644 --- a/css/themes/red.min.css +++ b/css/themes/red.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 70729e4f8..62e75d475 100644 --- a/css/themes/royal.css +++ b/css/themes/royal.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 93383ea24..e3780792a 100644 --- a/css/themes/royal.min.css +++ b/css/themes/royal.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 381c1e7db..f663c6e40 100644 --- a/css/third_party/embedly.css +++ b/css/third_party/embedly.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 4f6a2b8c1..f3683f5d4 100644 --- a/css/third_party/embedly.min.css +++ b/css/third_party/embedly.min.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 216881f04..e66eea0e8 100644 --- a/css/third_party/font_awesome.css +++ b/css/third_party/font_awesome.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 cd2963fae..e566b929a 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 252d4bd33..cd6518c9d 100644 --- a/css/third_party/image_tui.css +++ b/css/third_party/image_tui.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 4c534d93a..d4d7093a9 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c2fd9b5e6..ea2f64761 100644 --- a/css/third_party/spell_checker.css +++ b/css/third_party/spell_checker.css @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 d496aa733..a6e6b202c 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 458d1abec..bb6f54696 100644 --- a/js/froala_editor.min.js +++ b/js/froala_editor.min.js @@ -1,7 +1,7 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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.7-1",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.8",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 563d6bf08..5863f5354 100644 --- a/js/languages/ar.js +++ b/js/languages/ar.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 977eb8cfc..6b66623bb 100644 --- a/js/languages/bs.js +++ b/js/languages/bs.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 48fb378e3..7e647da89 100644 --- a/js/languages/cs.js +++ b/js/languages/cs.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 fdfb66695..c13df041e 100644 --- a/js/languages/da.js +++ b/js/languages/da.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 ebd3ae46a..912d75b07 100644 --- a/js/languages/de.js +++ b/js/languages/de.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 36891b4ca..1c29a4db9 100644 --- a/js/languages/el.js +++ b/js/languages/el.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 50ec1d2b9..3002dae59 100644 --- a/js/languages/en_ca.js +++ b/js/languages/en_ca.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 fe27ddfe5..412146ec9 100644 --- a/js/languages/en_gb.js +++ b/js/languages/en_gb.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 714b9c1cb..c6054a363 100644 --- a/js/languages/es.js +++ b/js/languages/es.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 6879567b8..8647e15f1 100644 --- a/js/languages/et.js +++ b/js/languages/et.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 676ff3bd6..600cc6ff2 100644 --- a/js/languages/fa.js +++ b/js/languages/fa.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 4024f5740..ee97cee5d 100644 --- a/js/languages/fi.js +++ b/js/languages/fi.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1981b50e2..0ee1d9986 100644 --- a/js/languages/fr.js +++ b/js/languages/fr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 2f3484101..8b5335ca8 100644 --- a/js/languages/he.js +++ b/js/languages/he.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 df669b03b..21ff46cb1 100644 --- a/js/languages/hr.js +++ b/js/languages/hr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 16888eae6..404c6ffb0 100644 --- a/js/languages/hu.js +++ b/js/languages/hu.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 674e2f15f..2f9e9f089 100644 --- a/js/languages/id.js +++ b/js/languages/id.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 7f918fc68..baf9bea76 100644 --- a/js/languages/it.js +++ b/js/languages/it.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 39c008612..bb9bd1902 100644 --- a/js/languages/ja.js +++ b/js/languages/ja.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1506a0c07..9a3ef330b 100644 --- a/js/languages/ko.js +++ b/js/languages/ko.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 a46e495c7..c974f88be 100644 --- a/js/languages/ku.js +++ b/js/languages/ku.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 839b000d3..0b3769f9c 100644 --- a/js/languages/me.js +++ b/js/languages/me.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9b8698527..1b448219f 100644 --- a/js/languages/nb.js +++ b/js/languages/nb.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 eef287a9d..01eb0b23b 100644 --- a/js/languages/nl.js +++ b/js/languages/nl.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 f327c2813..b18d4f20d 100644 --- a/js/languages/pl.js +++ b/js/languages/pl.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 f4b40aa44..b1249cd6e 100644 --- a/js/languages/pt_br.js +++ b/js/languages/pt_br.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 8c9504ada..7954f905f 100644 --- a/js/languages/pt_pt.js +++ b/js/languages/pt_pt.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 308921b9d..9af8ca5b2 100644 --- a/js/languages/ro.js +++ b/js/languages/ro.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 e0d880cfc..2a33aeee2 100644 --- a/js/languages/ru.js +++ b/js/languages/ru.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 93cb96dec..c50801572 100644 --- a/js/languages/sk.js +++ b/js/languages/sk.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9a969ffa8..ec1396b2d 100644 --- a/js/languages/sr.js +++ b/js/languages/sr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 55f64dc6d..f815e064c 100644 --- a/js/languages/sv.js +++ b/js/languages/sv.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9e63979b3..966d23cd2 100644 --- a/js/languages/th.js +++ b/js/languages/th.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 b29a35eb7..a8e292232 100644 --- a/js/languages/tr.js +++ b/js/languages/tr.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 46dccda01..ddc551300 100644 --- a/js/languages/uk.js +++ b/js/languages/uk.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 acd4c2190..e26502777 100644 --- a/js/languages/vi.js +++ b/js/languages/vi.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 883838150..d52b90b2e 100644 --- a/js/languages/zh_cn.js +++ b/js/languages/zh_cn.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 8384202b5..afa534dfd 100644 --- a/js/languages/zh_tw.js +++ b/js/languages/zh_tw.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 e67100954..fafb164fb 100644 --- a/js/plugins/align.min.js +++ b/js/plugins/align.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 f1727e2d4..8b9f1aff4 100644 --- a/js/plugins/char_counter.min.js +++ b/js/plugins/char_counter.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 403896ab0..8027ccaca 100644 --- a/js/plugins/code_beautifier.min.js +++ b/js/plugins/code_beautifier.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 47d9f7d05..20860f20b 100644 --- a/js/plugins/code_view.min.js +++ b/js/plugins/code_view.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 5a19de091..726e21218 100644 --- a/js/plugins/colors.min.js +++ b/js/plugins/colors.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 872c44885..b318e83ee 100644 --- a/js/plugins/draggable.min.js +++ b/js/plugins/draggable.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c57e8049c..5e12c996d 100644 --- a/js/plugins/emoticons.min.js +++ b/js/plugins/emoticons.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 151581451..a9c3136af 100644 --- a/js/plugins/entities.min.js +++ b/js/plugins/entities.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 6206f346e..edb742bbe 100644 --- a/js/plugins/file.min.js +++ b/js/plugins/file.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1977dfda0..a3db7ff48 100644 --- a/js/plugins/font_family.min.js +++ b/js/plugins/font_family.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 7cf9ebb3b..a3bcbd7bc 100644 --- a/js/plugins/font_size.min.js +++ b/js/plugins/font_size.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 941bad759..c07ebb74f 100644 --- a/js/plugins/forms.min.js +++ b/js/plugins/forms.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1e2718808..5b6039232 100644 --- a/js/plugins/fullscreen.min.js +++ b/js/plugins/fullscreen.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 f80a5fff0..a20c1116c 100644 --- a/js/plugins/help.min.js +++ b/js/plugins/help.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 3bb3f24f4..c36b0589d 100644 --- a/js/plugins/image.min.js +++ b/js/plugins/image.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 27dec34a8..259aefeea 100644 --- a/js/plugins/image_manager.min.js +++ b/js/plugins/image_manager.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 c17b6571d..fb73d3dab 100644 --- a/js/plugins/inline_class.min.js +++ b/js/plugins/inline_class.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 d5941dc9d..d2328b37e 100644 --- a/js/plugins/inline_style.min.js +++ b/js/plugins/inline_style.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 66ab7fc16..94b10da9b 100644 --- a/js/plugins/line_breaker.min.js +++ b/js/plugins/line_breaker.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 1bc60d015..fb78859c5 100644 --- a/js/plugins/line_height.min.js +++ b/js/plugins/line_height.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 94a3d442d..906de2301 100644 --- a/js/plugins/link.min.js +++ b/js/plugins/link.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 aa50621be..65b3bf6dd 100644 --- a/js/plugins/lists.min.js +++ b/js/plugins/lists.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 36edbfc80..9405adb1c 100644 --- a/js/plugins/paragraph_format.min.js +++ b/js/plugins/paragraph_format.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 e5854d140..813217b35 100644 --- a/js/plugins/paragraph_style.min.js +++ b/js/plugins/paragraph_style.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 9c3e593ed..be1653879 100644 --- a/js/plugins/print.min.js +++ b/js/plugins/print.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 918cd65bc..19ac36943 100644 --- a/js/plugins/quick_insert.min.js +++ b/js/plugins/quick_insert.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 bee42252b..22c4658e3 100644 --- a/js/plugins/quote.min.js +++ b/js/plugins/quote.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 0760cf47b..d4ea20869 100644 --- a/js/plugins/save.min.js +++ b/js/plugins/save.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 8c3bafe08..fd7399724 100644 --- a/js/plugins/special_characters.min.js +++ b/js/plugins/special_characters.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 fdbc78aa6..8f54eb9e1 100644 --- a/js/plugins/table.min.js +++ b/js/plugins/table.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 24adcba27..beb0956f5 100644 --- a/js/plugins/url.min.js +++ b/js/plugins/url.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 b2761c3a0..3ba94d201 100644 --- a/js/plugins/video.min.js +++ b/js/plugins/video.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 6daaa89a7..10e596046 100644 --- a/js/plugins/word_paste.min.js +++ b/js/plugins/word_paste.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 efc76f411..fe53361cd 100644 --- a/js/third_party/embedly.min.js +++ b/js/third_party/embedly.min.js @@ -1,5 +1,5 @@ /*! - * froala_editor v2.9.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 bd145ec77..edeefc8b5 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 5a9a65202..26409520f 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 ffbb365b0..289350764 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 787f40dc8..a0772346a 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.7-1 (https://www.froala.com/wysiwyg-editor) + * froala_editor v2.9.8 (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 5940a4212..d370e16bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "froala-editor", - "version": "2.9.7-1", + "version": "2.9.8", "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",