-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JI-5201 fix ckeditor usage in other libraries (#4)
* JI-5201 update ckeditor build * JI-5201 fix usage of ckeditor * JI-5201 Revert version change * JI-5201 Revert unintended unconditional overriding of config * JI-5201 Remove obsolete resize function + code format tweaks * JI-5201 Revert removal of resize function so that IV doesn't crash --------- Co-authored-by: makmentins <[email protected]> Co-authored-by: Erik Langhaug <[email protected]>
- Loading branch information
1 parent
ff12a5a
commit 531e9f1
Showing
84 changed files
with
837 additions
and
830 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ webpack.config.js | |
README.md | ||
package.json | ||
ckeditor | ||
tsconfig.json | ||
tsconfig.types.json |
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,49 @@ | ||
Software License Agreement | ||
========================== | ||
|
||
Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
|
||
Online builder code samples are licensed under the terms of the MIT License (see Appendix A): | ||
|
||
http://en.wikipedia.org/wiki/MIT_License | ||
|
||
CKEditor 5 collaboration features are only available under a commercial license. [Contact us](https://ckeditor.com/contact/) for more details. | ||
|
||
Free 30-days trials of CKEditor 5 collaboration features are available: | ||
* https://ckeditor.com/collaboration/ - Real-time collaboration (with all features). | ||
* https://ckeditor.com/collaboration/comments/ - Inline comments feature (without real-time collaborative editing). | ||
* https://ckeditor.com/collaboration/track-changes/ - Track changes feature (without real-time collaborative editing). | ||
|
||
Trademarks | ||
---------- | ||
|
||
CKEditor is a trademark of CKSource Holding sp. z o.o. All other brand | ||
and product names are trademarks, registered trademarks or service | ||
marks of their respective holders. | ||
|
||
--- | ||
|
||
Appendix A: The MIT License | ||
--------------------------- | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2014-2023, CKSource Holding sp. z o.o. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Binary file not shown.
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,43 @@ | ||
/** | ||
* @license Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic'; | ||
import { Alignment } from '@ckeditor/ckeditor5-alignment'; | ||
import { Autoformat } from '@ckeditor/ckeditor5-autoformat'; | ||
import { Bold, Code, Italic, Strikethrough, Subscript, Superscript, Underline } from '@ckeditor/ckeditor5-basic-styles'; | ||
import { BlockQuote } from '@ckeditor/ckeditor5-block-quote'; | ||
import { CloudServices } from '@ckeditor/ckeditor5-cloud-services'; | ||
import { CodeBlock } from '@ckeditor/ckeditor5-code-block'; | ||
import { Essentials } from '@ckeditor/ckeditor5-essentials'; | ||
import { FontBackgroundColor, FontColor, FontSize } from '@ckeditor/ckeditor5-font'; | ||
import { Heading } from '@ckeditor/ckeditor5-heading'; | ||
import { Highlight } from '@ckeditor/ckeditor5-highlight'; | ||
import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line'; | ||
import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload } from '@ckeditor/ckeditor5-image'; | ||
import { Indent, IndentBlock } from '@ckeditor/ckeditor5-indent'; | ||
import { AutoLink, Link } from '@ckeditor/ckeditor5-link'; | ||
import { List } from '@ckeditor/ckeditor5-list'; | ||
import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed'; | ||
import { Paragraph } from '@ckeditor/ckeditor5-paragraph'; | ||
import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office'; | ||
import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format'; | ||
import { SelectAll } from '@ckeditor/ckeditor5-select-all'; | ||
import { Table, TableToolbar } from '@ckeditor/ckeditor5-table'; | ||
import { TextTransformation } from '@ckeditor/ckeditor5-typing'; | ||
declare class Editor extends ClassicEditor { | ||
static builtinPlugins: (typeof Alignment | typeof AutoLink | typeof Autoformat | typeof BlockQuote | typeof Bold | typeof CloudServices | typeof Code | typeof CodeBlock | typeof Essentials | typeof FontBackgroundColor | typeof FontColor | typeof FontSize | typeof Heading | typeof Highlight | typeof HorizontalLine | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof Indent | typeof IndentBlock | typeof Italic | typeof Link | typeof List | typeof MediaEmbed | typeof Paragraph | typeof PasteFromOffice | typeof RemoveFormat | typeof SelectAll | typeof Strikethrough | typeof Subscript | typeof Superscript | typeof Table | typeof TableToolbar | typeof TextTransformation | typeof Underline)[]; | ||
static defaultConfig: { | ||
toolbar: { | ||
items: string[]; | ||
}; | ||
language: string; | ||
image: { | ||
toolbar: string[]; | ||
}; | ||
table: { | ||
contentToolbar: string[]; | ||
}; | ||
}; | ||
} | ||
export default Editor; |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.