frayerjj-frontend 0.1.47 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -4
- package/src/index.js +16 -1
- package/src/init.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frayerjj-frontend",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
4
4
|
"description": "My base frontend for various projects",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -13,10 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"author": "Joshua Frayer",
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@ckeditor/ckeditor5-build-classic": "^44.3.0"
|
|
18
|
-
},
|
|
19
16
|
"dependencies": {
|
|
17
|
+
"@ckeditor/ckeditor5-editor-classic": "^44.3.0",
|
|
18
|
+
"@ckeditor/ckeditor5-editor-inline": "^44.3.0",
|
|
20
19
|
"@popperjs/core": "^2.11.8",
|
|
21
20
|
"bootstrap": "^5.3.3"
|
|
22
21
|
}
|
package/src/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
1
2
|
import { ajax } from './ajax';
|
|
2
3
|
import { init } from './init';
|
|
3
4
|
import { loading } from './loading';
|
|
@@ -5,5 +6,19 @@ import { message } from './message';
|
|
|
5
6
|
import { modal } from './modal';
|
|
6
7
|
import { session } from './session';
|
|
7
8
|
import { validate } from './validate';
|
|
9
|
+
import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
|
|
10
|
+
import InlineEditorBase from '@ckeditor/ckeditor5-editor-inline/src/inlineeditor';
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
class ClassicEditor extends ClassicEditorBase {}
|
|
13
|
+
class InlineEditor extends InlineEditorBase {}
|
|
14
|
+
|
|
15
|
+
const plugins = [];
|
|
16
|
+
const config = {};
|
|
17
|
+
|
|
18
|
+
ClassicEditor.builtinPlugins = plugins;
|
|
19
|
+
ClassicEditor.defaultConfig = config;
|
|
20
|
+
|
|
21
|
+
InlineEditor.builtinPlugins = plugins;
|
|
22
|
+
InlineEditor.defaultConfig = config;
|
|
23
|
+
|
|
24
|
+
export { ClassicEditor, InlineEditor, ajax, init, loading, message, modal, session, validate };
|