Skip to content

Commit 3a4bf97

Browse files
committed
Patch fontawesome to get working with CKE5, add fontawesome library by default
1 parent 06e9b33 commit 3a4bf97

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

composer.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
"npm-asset/dropzone": "^5.7.4",
8787
"phpdocumentor/reflection-docblock": "^5",
8888
"vardot/blazy": "^1.8",
89-
"w8tcha/ckeditor-codemirror": "1.18.5"
89+
"w8tcha/ckeditor-codemirror": "1.18.5",
90+
"fontawesome/fontawesome": "^6.4"
9091
},
9192
"require-dev": {
9293
"drupal/core-dev": "11.1.*",
@@ -132,6 +133,21 @@
132133
"type": "composer",
133134
"url": "https://drupalwxt.github.io/composer-extdeps/"
134135
},
136+
{
137+
"type": "package",
138+
"package": {
139+
"name": "fontawesome/fontawesome",
140+
"version": "6.4.2",
141+
"type": "drupal-library",
142+
"extra": {
143+
"installer-name": "fontawesome"
144+
},
145+
"dist": {
146+
"url": "https://use.fontawesome.com/releases/v6.4.2/fontawesome-free-6.4.2-web.zip",
147+
"type": "zip"
148+
}
149+
}
150+
},
135151
{
136152
"type": "package",
137153
"package": {
@@ -258,7 +274,9 @@
258274
},
259275
"drupal/fontawesome": {
260276
"3071758 - Fix multiple icons issue":
261-
"https://git.drupalcode.org/project/fontawesome/-/merge_requests/4.diff"
277+
"https://git.drupalcode.org/project/fontawesome/-/merge_requests/4.diff",
278+
"3274028 - CKEditor 5 compatibility":
279+
"https://www.drupal.org/files/issues/2025-02-12/fontawesome-cke5-compatibility-3274028-58.patch"
262280
},
263281
"drupal/group": {
264282
"Enter drupal/group patch #2817109 description here":

0 commit comments

Comments
 (0)