forked from zadam/trilium-ckeditor5
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
602 changed files
with
15,630 additions
and
3,824 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
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,24 @@ | ||
StylesPath = "scripts/vale/styles" | ||
|
||
MinAlertLevel = error | ||
|
||
Vocab = Docs | ||
|
||
Packages = Microsoft, proselint, write-good, Readability | ||
|
||
# For now, check Markdown files only. | ||
[*.md] | ||
BasedOnStyles = CKEditor, Vale, Microsoft, proselint, write-good, Readability | ||
Microsoft.Avoid = NO | ||
Microsoft.Contractions = NO | ||
Microsoft.Dashes = NO | ||
# The Passive rule appears in write-good too, with a better description. | ||
Microsoft.Passive = NO | ||
proselint.Typography = NO | ||
write-good.E-Prime = NO | ||
write-good.ThereIs = suggestion | ||
# Ignore HTML links. | ||
IgnoredScopes = a | ||
# Ignore internal documentation links ({@link} and URLs typed verbatim or in Markdown notation. | ||
# Ignore internal snippet links. | ||
TokenIgnores = {@link [^{}]+}, https?://[^\s]+, {@snippet [^{}]+} |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ Software License Agreement | |
========================== | ||
|
||
**CKEditor 5** – https://github.com/ckeditor/ckeditor5 <br> | ||
Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. | ||
Copyright (c) 2003–2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved. | ||
|
||
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). | ||
|
||
|
@@ -13,13 +13,14 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi | |
|
||
The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT): | ||
|
||
* color-convert - Copyright (c) 2011-2016 Heather Arthur <[email protected]>, copyright (c) 2016-2021 Josh Junon <[email protected]> (MIT license). | ||
* color-parse - Copyright (c) 2015 Dmitry Ivanov (MIT license). | ||
* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. | ||
* marked - Copyright (c) Christopher Jeffrey. (MIT License) | ||
* turndown - turndown is copyright © Dom Christie and released under the MIT license. | ||
* turndown-plugin-gfm - turndown-plugin-gfm is copyright © Dom Christie and released under the MIT license. | ||
* vanilla-colorful - Copyright (c) 2020 Serhii Kulykov <[email protected]> (MIT license). | ||
* BlurHash - Copyright (c) 2018 Wolt Enterprises (MIT license). | ||
* color-convert - Copyright (c) 2011–2016 Heather Arthur <[email protected]>, copyright (c) 2016–2021 Josh Junon <[email protected]>. | ||
* color-parse - Copyright (c) 2015 Dmitry Ivanov. | ||
* Lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/. | ||
* Marked - Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/), copyright (c) 2011–2018, Christopher Jeffrey (https://github.com/chjj/). | ||
* Turndown - Copyright (c) 2017+ Dom Christie. | ||
* turndown-plugin-gfm - Copyright (c) 2017+ Dom Christie. | ||
* vanilla-colorful - Copyright (c) 2020 Serhii Kulykov <[email protected]>. | ||
|
||
Trademarks | ||
---------- | ||
|
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-button-states"></div> | ||
<div class="ui-snippet ui-button-states"></div> |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<div class="ui-snippet ui-button"></div> | ||
<div class="ui-snippet ui-editor"></div> | ||
<div class="ui-snippet ui-editor"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-dropdown-states"></div> | ||
<div class="ui-snippet ui-dropdown-states"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-dropdown"></div> | ||
<div class="ui-snippet ui-dropdown"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-icons"></div> | ||
<div class="ui-snippet ui-icons"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-input-states"></div> | ||
<div class="ui-snippet ui-input-states"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-input"></div> | ||
<div class="ui-snippet ui-input"></div> |
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 @@ | ||
<div class="ui-snippet ui-search"></div> |
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,27 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
/* globals document, ListView, Locale, SearchTextView */ | ||
|
||
const locale = new Locale(); | ||
|
||
const filteredView = new ListView(); | ||
filteredView.filter = () => { | ||
return { | ||
resultsCount: 1, | ||
totalItemsCount: 5 | ||
}; | ||
}; | ||
|
||
const searchView = new SearchTextView( locale, { | ||
filteredView, | ||
queryView: { | ||
label: 'Label' | ||
} | ||
} ); | ||
|
||
searchView.render(); | ||
|
||
document.querySelector( '.ui-search' ).append( searchView.element ); |
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 @@ | ||
<div class="ui-snippet ui-spinner"></div> |
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,13 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
/* globals document, SpinnerView */ | ||
|
||
const spinner = new SpinnerView(); | ||
|
||
spinner.set( { isVisible: true } ); | ||
spinner.render(); | ||
|
||
document.querySelector( '.ui-spinner' ).append( spinner.element ); |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-switch"></div> | ||
<div class="ui-snippet ui-switch"></div> |
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 @@ | ||
<div class="ui-snippet ui-textarea"></div> |
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,17 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
/* globals document, TextareaView */ | ||
|
||
const textarea = new TextareaView(); | ||
|
||
textarea.set( { | ||
minRows: 4, | ||
maxRows: 10, | ||
resize: 'horizontal' | ||
} ); | ||
textarea.render(); | ||
|
||
document.querySelector( '.ui-textarea' ).append( textarea.element ); |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-button"></div> | ||
<div class="ui-snippet ui-toolbar-button"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-compact"></div> | ||
<div class="ui-snippet ui-toolbar-compact"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-multirow"></div> | ||
<div class="ui-snippet ui-toolbar-multirow"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-separator"></div> | ||
<div class="ui-snippet ui-toolbar-separator"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-text"></div> | ||
<div class="ui-snippet ui-toolbar-text"></div> |
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 |
---|---|---|
@@ -1 +1 @@ | ||
<div class="ui-snippet ui-toolbar-wrap"></div> | ||
<div class="ui-snippet ui-toolbar-wrap"></div> |
Empty file.
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,21 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
/* global document */ | ||
|
||
// External source exclusion. | ||
const metaElement = document.createElement( 'meta' ); | ||
|
||
metaElement.name = 'x-cke-crawler-ignore-patterns'; | ||
metaElement.content = JSON.stringify( { | ||
'response-failure': [ 'jsfiddle.net' ], | ||
'request-failure': [ 'jsfiddle.net' ], | ||
'console-error': [ | ||
'The Cross-Origin-Opener-Policy header has been ignored', | ||
'jsfiddle.net' | ||
] | ||
} ); | ||
|
||
document.head.appendChild( metaElement ); |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Oops, something went wrong.