-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ckedito5 patch for table cell resize
- Loading branch information
Sahil Sharma
committed
Oct 31, 2024
1 parent
86d5c24
commit 9ad1422
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
patches/ckeditor5/ckeditor5_table_properties_and_column_size.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | ||
index 2a2c3fd165..3c76e71482 100644 | ||
--- a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | ||
+++ b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | ||
@@ -526,8 +526,6 @@ ckeditor5_table_properties: | ||
conditions: | ||
plugins: | ||
- ckeditor5_table | ||
- # When arbitrary HTML is already allowed, it's harmless to enable CKEditor 5's UI for table properties. | ||
- - ckeditor5_arbitraryHtmlSupport | ||
elements: | ||
- <table style> | ||
|
||
@@ -549,8 +547,20 @@ ckeditor5_table_cell_properties: | ||
elements: | ||
- <td style> | ||
- <td rowspan colspan style> | ||
- - <th style> | ||
- - <th rowspan colspan style> | ||
+ | ||
+ckeditor5_tableColumnResize: | ||
+ ckeditor5: | ||
+ plugins: | ||
+ - table.TableColumnResize | ||
+ drupal: | ||
+ label: Table Column Resize | ||
+ conditions: | ||
+ plugins: | ||
+ - ckeditor5_table | ||
+ elements: | ||
+ - <colgroup> | ||
+ - <col> | ||
+ - <col style> | ||
|
||
ckeditor5_image: | ||
ckeditor5: |