Skip to content

Commit

Permalink
Update to v4.4.0 (#32)
Browse files Browse the repository at this point in the history
 - WordPress framework plugin upgraded
 - Fixed, Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
 - Fixed, Random number list gets generated when copy-pasting content from MS Word
 - Fixed, Pasting TOC from Word does not work as expected
 - Fixed, oneNote: deleting bullet lists after pasting into the editor does not work as expected
 - Fixed, editor does not returns `fullPage` content when `fontFamilyDefaultSelection` option is used
 - Fixed, issue with using Froala Angular SDK in standalone component (Angular 17) when Server-Side Rendering (SSR) is enabled
 - Fixed, pasting list containing sub-bullet lists, the sub bullet lists are not preserved in the same order
 - Fixed, complex numbering and bullets alignment is not pasted correctly from MS Word inside the editor
 - Fixed, increasing font size does not increase's the subscript line
 - Fixed, problem with underline text and color change
 - Fixed, table with header that contains merged cells is not displayed correctly
 - Fixed, after clicking an image the image toolbar moves with outer scroll
 - Fixed, track changes: editor completely delete's characters from content when pressing backspace 
 - Fixed, cursor position get's lost if the content is wrapped with `html.wrap` inside tables
 - Fixed, XSS vulnerability when pasting content into the froala editor
 - Fixed, Vimeo Embedded Code Includes Extra `<p>` Tag Causing Embed Failure
 - Fixed, inserting link with special character, the editor removes any formatting from the content. 
 - Updated Dompurify library integration within Froala to respect the configurable options

---------

Co-authored-by: KacperJernalczyk <[email protected]>
  • Loading branch information
harasunu-narayan and kakerj321 authored Jan 8, 2025
1 parent 469481b commit 206f441
Show file tree
Hide file tree
Showing 299 changed files with 671 additions and 614 deletions.
11 changes: 11 additions & 0 deletions admin/class-froala-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,20 @@ public function enqueue_styles() {
wp_register_style('video_css',plugin_dir_url( __FILE__ ) . 'css/plugins/video.css');
wp_register_style('markdown_css',plugin_dir_url( __FILE__ ) . 'css/plugins/markdown.css');
wp_register_style('files_manager_css',plugin_dir_url( __FILE__ ) .'css/plugins/files_manager.css');
wp_register_style('code_view_css',plugin_dir_url( __FILE__ ) .'css/plugins/code_view.css');
wp_register_style('filestack_css',plugin_dir_url( __FILE__ ) .'css/plugins/filestack.css');
wp_enqueue_style('froala_editor_css');
wp_enqueue_style('froala_style_css');
wp_enqueue_style('froala_admin_css');
wp_enqueue_style('font_asm');

wp_enqueue_style('code_view_css');
wp_enqueue_style('char_counter_css');
wp_enqueue_style('colors_css');
wp_enqueue_style('draggable_css');
wp_enqueue_style('emoticons_css');
wp_enqueue_style('file_css');
wp_enqueue_style('filestack_css');
wp_enqueue_style('fullscreen_css');
wp_enqueue_style('help_css');
wp_enqueue_style('image_css');
Expand Down Expand Up @@ -266,16 +270,20 @@ public function froala_plugin_list () {
array('name'=>'code_view'),
array('name'=>'colors'),
array('name'=>'draggable'),
array('name'=>'edit_in_popup'),
array('name'=>'emoticons'),
array('name'=>'entities'),
array('name'=>'file'),
array('name'=>'files_manager'),
array('name'=>'filestack'),
array('name'=>'font_family'),
array('name'=>'font_size'),
array('name'=>'forms'),
array('name'=>'fullscreen'),
array('name'=>'help'),
array('name'=>'image'),
array('name'=>'image_manager'),
array('name'=>'inline_class'),
array('name'=>'inline_style'),
array('name'=>'line_breaker'),
array('name'=>'link'),
Expand All @@ -288,10 +296,13 @@ public function froala_plugin_list () {
array('name'=>'save'),
array('name'=>'special_characters'),
array('name'=>'table'),
array('name'=>'trim_video'),
array('name'=>'url'),
array('name'=>'files_manager'),
array('name'=>'markdown'),
array('name'=>'track_changes'),
array('name'=>'word_counter'),
array('name'=>'word_paste'),
array('name'=>'video'));
?>

Expand Down
4 changes: 2 additions & 2 deletions admin/css/froala_editor.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/froala_editor.min.css

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions admin/css/froala_editor.pkgd.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down Expand Up @@ -4566,6 +4566,8 @@ div.fr-modal-body {
background: #ececec; }
.fr-view table tfoot td {
background: #ececec; }
.fr-view .fr-mso-hidden {
display: none; }
.fr-view hr {
clear: both;
user-select: none;
Expand Down
6 changes: 3 additions & 3 deletions admin/css/froala_editor.pkgd.min.css

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions admin/css/froala_style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down Expand Up @@ -80,6 +80,8 @@
background: #ececec; }
.fr-view table tfoot td {
background: #ececec; }
.fr-view .fr-mso-hidden {
display: none; }
.fr-view hr {
clear: both;
user-select: none;
Expand Down
6 changes: 3 additions & 3 deletions admin/css/froala_style.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions admin/css/plugins.pkgd.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins.pkgd.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions admin/css/plugins/char_counter.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/char_counter.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/css/plugins/code_view.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/code_view.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/css/plugins/colors.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/colors.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/css/plugins/draggable.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/draggable.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-drag-helper{background:#0098f7;height:2px;margin-top:-1px;-webkit-opacity:.2;-moz-opacity:.2;opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";position:absolute;z-index:2147483640;display:none}.fr-drag-helper.fr-visible{display:block}.fr-dragging{-webkit-opacity:.4;-moz-opacity:.4;opacity:.4;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}
4 changes: 2 additions & 2 deletions admin/css/plugins/emoticons.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/emoticons.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after{clear:both;display:block;content:"";height:0}.fr-hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.fr-popup .fr-emoticon{width:24px;height:24px;font-family:"Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols}.fr-popup .fr-emoticon img{height:24px;width:24px}.fr-popup .fr-command.fr-btn.fr-tabs-unicode{padding:0 0 0 14px}@media screen and (-ms-high-contrast: active) and (min-width: 768px), (-ms-high-contrast: none) and (min-width: 768px){.fr-popup .fr-icon-container.fr-emoticon-container{width:368px}}
4 changes: 2 additions & 2 deletions admin/css/plugins/file.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/file.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/css/plugins/files_manager.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/files_manager.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions admin/css/plugins/filestack.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-popup .fr-command.fr-btn[data-cmd="filestackIcon"] svg path,
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/filestack.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/css/plugins/fullscreen.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* froala_editor v4.3.1 (https://www.froala.com/wysiwyg-editor)
* froala_editor v4.4.0 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2024 Froala Labs
* Copyright 2014-2025 Froala Labs
*/

.fr-clearfix::after {
Expand Down
4 changes: 2 additions & 2 deletions admin/css/plugins/fullscreen.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 206f441

Please sign in to comment.