Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Fiberekonomi
CKEditor
Commits
185659e8
Commit
185659e8
authored
5 months ago
by
Sarmad Aljazrawi
Browse files
Options
Download
Email Patches
Plain Diff
deps: update ckeditor to latest version
parent
9198f34e
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1283 additions
and
1209 deletions
+1283
-1209
SampleApp/package-lock.json
SampleApp/package-lock.json
+585
-554
SampleApp/package.json
SampleApp/package.json
+2
-2
SampleApp/src/app/app.component.html
SampleApp/src/app/app.component.html
+4
-0
SampleApp/src/app/app.component.ts
SampleApp/src/app/app.component.ts
+9
-0
SampleApp/yarn.lock
SampleApp/yarn.lock
+646
-625
ckeditor5-build-custom/package.json
ckeditor5-build-custom/package.json
+27
-27
ckeditor5-build-custom/src/ckeditor.js
ckeditor5-build-custom/src/ckeditor.js
+10
-1
No files found.
SampleApp/package-lock.json
View file @
185659e8
This diff is collapsed.
Click to expand it.
SampleApp/package.json
View file @
185659e8
...
...
@@ -20,8 +20,8 @@
"@angular/platform-browser"
:
"~18.1.1"
,
"@angular/platform-browser-dynamic"
:
"~18.1.1"
,
"@angular/router"
:
"~18.1.1"
,
"@ckeditor/ckeditor5-angular"
:
"^
8.0
.0"
,
"@fiberekonomi/ckeditor"
:
"^1.3.0-beta
8
"
,
"@ckeditor/ckeditor5-angular"
:
"^
9.1
.0"
,
"@fiberekonomi/ckeditor"
:
"^1.3.0-beta
14
"
,
"rxjs"
:
"^7.8.1"
,
"tslib"
:
"^2.6.3"
,
"zone.js"
:
"~0.14.8"
...
...
This diff is collapsed.
Click to expand it.
SampleApp/src/app/app.component.html
View file @
185659e8
...
...
@@ -3,4 +3,8 @@
<br
/><br
/>
<ckeditor
#editor
[editor]=
"Editor"
[config]=
"config"
[data]=
"initialData"
(ready)=
"onReady($event)"
></ckeditor>
<p>
Output data
</p>
<div
id=
"outputData"
></div>
<router-outlet></router-outlet>
This diff is collapsed.
Click to expand it.
SampleApp/src/app/app.component.ts
View file @
185659e8
...
...
@@ -28,6 +28,7 @@ export class AppComponent {
// public initialData = '<p>hej<br />';
public
config
=
{
licenseKey
:
'
GPL
'
,
toolbar
:
{
items
:
[
'
heading
'
,
...
...
@@ -65,6 +66,12 @@ export class AppComponent {
],
shouldNotGroupWhenFull
:
true
,
language
:
'
en
'
},
autoEmbed
:
{
widget
:
'
mediaEmbed
'
},
mediaEmbed
:
{
previewsInData
:
true
},
fontFamily
:
{
options
:
[
...
...
@@ -92,6 +99,8 @@ export class AppComponent {
getData
()
{
var
content
=
this
.
myEditor
.
editorInstance
.
getData
();
console
.
log
(
'
editor content:
'
+
content
);
document
.
getElementById
(
'
outputData
'
).
innerHTML
=
content
;
}
onReady
(
event
)
{
...
...
This diff is collapsed.
Click to expand it.
SampleApp/yarn.lock
View file @
185659e8
This diff is collapsed.
Click to expand it.
ckeditor5-build-custom/package.json
View file @
185659e8
...
...
@@ -21,43 +21,43 @@
"url"
:
"http://git.sarmad.se/fiberekonomi/ckeditor.git"
},
"devDependencies"
:
{
"@ckeditor/ckeditor5-alignment"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-autoformat"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-basic-styles"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-block-quote"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-code-block"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-alignment"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-autoformat"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-basic-styles"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-block-quote"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-code-block"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-dev-translations"
:
"^42.0.0"
,
"@ckeditor/ckeditor5-dev-utils"
:
"^42.0.0"
,
"@ckeditor/ckeditor5-editor-classic"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-essentials"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-font"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-heading"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-highlight"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-html-embed"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-indent"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-link"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-list"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-media-embed"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-paragraph"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-paste-from-office"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-remove-format"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-source-editing"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-table"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-theme-lark"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-typing"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-word-count"
:
"^4
2
.0.
2
"
,
"@ckeditor/ckeditor5-editor-classic"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-essentials"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-font"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-heading"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-highlight"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-html-embed"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-indent"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-link"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-list"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-media-embed"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-paragraph"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-paste-from-office"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-remove-format"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-source-editing"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-table"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-theme-lark"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-typing"
:
"^4
4
.0.
0
"
,
"@ckeditor/ckeditor5-word-count"
:
"^4
4
.0.
0
"
,
"css-loader"
:
"^7.1.2"
,
"postcss"
:
"^8.4.4
0
"
,
"postcss"
:
"^8.4.4
9
"
,
"postcss-loader"
:
"^8.1.1"
,
"raw-loader"
:
"^4.0.2"
,
"style-loader"
:
"^4.0.0"
,
"terser-webpack-plugin"
:
"^5.3.10"
,
"webpack"
:
"^5.9
3.0
"
,
"webpack"
:
"^5.9
7.1
"
,
"webpack-cli"
:
"^5.1.4"
},
"engines"
:
{
"node"
:
"^22.
5.1
"
,
"npm"
:
"^10.
8.2
"
"node"
:
"^22.
12.0
"
,
"npm"
:
"^10.
9.0
"
},
"scripts"
:
{
"build-ckeditor"
:
"webpack --mode production"
,
...
...
This diff is collapsed.
Click to expand it.
ckeditor5-build-custom/src/ckeditor.js
View file @
185659e8
...
...
@@ -35,6 +35,7 @@ import Placeholder from './plugins/placeholder/placeholder.js';
import
MediaEmbed
from
'
@ckeditor/ckeditor5-media-embed/src/mediaembed
'
;
import
HtmlEmbed
from
'
@ckeditor/ckeditor5-html-embed/src/htmlembed
'
;
import
SourceEditing
from
'
@ckeditor/ckeditor5-source-editing/src/sourceediting
'
;
import
AutoMediaEmbed
from
'
@ckeditor/ckeditor5-media-embed/src/automediaembed
'
;
class
Editor
extends
ClassicEditor
{}
...
...
@@ -73,12 +74,14 @@ Editor.builtinPlugins = [
Underline
,
WordCount
,
Placeholder
,
AutoMediaEmbed
,
MediaEmbed
,
HtmlEmbed
,
SourceEditing
SourceEditing
,
];
Editor
.
defaultConfig
=
{
licenseKey
:
'
GPL
'
,
toolbar
:
{
items
:
[
'
heading
'
,
...
...
@@ -117,6 +120,12 @@ Editor.defaultConfig = {
shouldNotGroupWhenFull
:
true
,
language
:
'
en
'
},
autoEmbed
:
{
widget
:
'
mediaEmbed
'
},
mediaEmbed
:
{
previewsInData
:
true
},
alignment
:
{
options
:
[
'
left
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment