From 522665f6a0a9b5ffe3eb5380e15fbcc50f5531fb Mon Sep 17 00:00:00 2001
From: Mateusz Baginski
Date: Mon, 29 Jul 2024 12:50:19 +0200
Subject: [PATCH 1/4] Fix not working Indent buttons in demos
---
demos/react/ClassicEditor.tsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/demos/react/ClassicEditor.tsx b/demos/react/ClassicEditor.tsx
index beae7842..f631726c 100644
--- a/demos/react/ClassicEditor.tsx
+++ b/demos/react/ClassicEditor.tsx
@@ -22,6 +22,7 @@ import {
ImageToolbar,
ImageUpload,
Indent,
+ IndentBlock,
Link,
List,
MediaEmbed,
@@ -54,6 +55,7 @@ export default class ClassicEditor extends ClassicEditorBase {
ImageToolbar,
ImageUpload,
Indent,
+ IndentBlock,
Link,
List,
MediaEmbed,
From 5a8fffd92d542a062d8ee603cf8677f5a7782327 Mon Sep 17 00:00:00 2001
From: Mateusz Baginski
Date: Mon, 29 Jul 2024 12:50:41 +0200
Subject: [PATCH 2/4] Adjust demos urls
---
demos/multiroot-react/App.tsx | 6 +++---
demos/react/App.tsx | 9 ++++++---
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/demos/multiroot-react/App.tsx b/demos/multiroot-react/App.tsx
index ce6cb0d8..143a3b94 100644
--- a/demos/multiroot-react/App.tsx
+++ b/demos/multiroot-react/App.tsx
@@ -12,10 +12,10 @@ type Demo = 'editor' | 'rich' | 'context';
const multiRootEditorContent = {
intro: 'Sample
This is an instance of the ' +
- 'multi-root editor build.
',
+ 'multi-root editor build.
',
content: 'It is the custom content
',
- outro: 'You can use this sample to validate whether your ' +
- 'custom build works fine.
'
+ outro: 'You can useCKEditor Builder' +
+ 'to create a custom build with your favorite features.
'
};
const rootsAttributes = {
diff --git a/demos/react/App.tsx b/demos/react/App.tsx
index 6283c0f1..5e81bbcd 100644
--- a/demos/react/App.tsx
+++ b/demos/react/App.tsx
@@ -11,14 +11,17 @@ type Demo = 'editor' | 'context';
const editorContent = `
Sample
- This is an instance of the
+ This is an instance of the
classic editor build.
- You can use this sample to validate whether your
- custom build works fine.
+
+ You can use
+ CKEditor Builder
+ to create a custom build with your favorite features.
+
`;
export default function App(): JSX.Element {
From 3b16d4a2576af540fd96187cfb07ab813ff2adc2 Mon Sep 17 00:00:00 2001
From: Mateusz Baginski
Date: Mon, 29 Jul 2024 13:22:28 +0200
Subject: [PATCH 3/4] Fix not working image upload in demos
---
demos/multiroot-react/MultiRootEditor.tsx | 6 ++++--
demos/react/ClassicEditor.tsx | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/demos/multiroot-react/MultiRootEditor.tsx b/demos/multiroot-react/MultiRootEditor.tsx
index 794a6b12..b67d120a 100644
--- a/demos/multiroot-react/MultiRootEditor.tsx
+++ b/demos/multiroot-react/MultiRootEditor.tsx
@@ -30,7 +30,8 @@ import {
PictureEditing,
Table,
TableToolbar,
- TextTransformation
+ TextTransformation,
+ Base64UploadAdapter
} from 'ckeditor5';
import 'ckeditor5/ckeditor5.css';
@@ -62,7 +63,8 @@ export default class MultiRootEditor extends MultiRootEditorBase {
PictureEditing,
Table,
TableToolbar,
- TextTransformation
+ TextTransformation,
+ Base64UploadAdapter
];
public static override defaultConfig = {
diff --git a/demos/react/ClassicEditor.tsx b/demos/react/ClassicEditor.tsx
index f631726c..32e8f626 100644
--- a/demos/react/ClassicEditor.tsx
+++ b/demos/react/ClassicEditor.tsx
@@ -31,7 +31,8 @@ import {
PictureEditing,
Table,
TableToolbar,
- TextTransformation
+ TextTransformation,
+ Base64UploadAdapter
} from 'ckeditor5';
import 'ckeditor5/ckeditor5.css';
@@ -64,7 +65,8 @@ export default class ClassicEditor extends ClassicEditorBase {
PictureEditing,
Table,
TableToolbar,
- TextTransformation
+ TextTransformation,
+ Base64UploadAdapter
];
public static override defaultConfig = {
From 2cec287ece5527cbe369eae62b26cbe422b0155b Mon Sep 17 00:00:00 2001
From: Mateusz Baginski
Date: Thu, 8 Aug 2024 09:42:36 +0200
Subject: [PATCH 4/4] Minor doc fixes
---
demos/multiroot-react/App.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/demos/multiroot-react/App.tsx b/demos/multiroot-react/App.tsx
index 143a3b94..19921656 100644
--- a/demos/multiroot-react/App.tsx
+++ b/demos/multiroot-react/App.tsx
@@ -12,10 +12,10 @@ type Demo = 'editor' | 'rich' | 'context';
const multiRootEditorContent = {
intro: 'Sample
This is an instance of the ' +
- 'multi-root editor build.
',
+ 'multi-root editor type.
',
content: 'It is the custom content
',
- outro: 'You can useCKEditor Builder' +
- 'to create a custom build with your favorite features.
'
+ outro: 'You can use CKEditor Builder' +
+ ' to create a custom configuration with your favorite features.
'
};
const rootsAttributes = {