-
Notifications
You must be signed in to change notification settings - Fork 0
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
166 changed files
with
27,955 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { | ||
"modules": "umd", | ||
"useBuiltIns": "entry", | ||
"corejs": 3 | ||
}] | ||
], | ||
"plugins": [ | ||
"babel-plugin-add-module-exports", | ||
"babel-plugin-class-display-name", | ||
"@babel/plugin-transform-runtime" | ||
] | ||
} |
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,9 @@ | ||
root = false | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
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,4 @@ | ||
node_modules | ||
*.d.ts | ||
src/components/tools/paragraph | ||
src/polyfills.ts |
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,45 @@ | ||
{ | ||
"extends": [ | ||
"codex" | ||
], | ||
"rules": { | ||
/** | ||
* Temporary suppress some errors. We need to fix them partially in next patches | ||
*/ | ||
"import/no-duplicates": ["warn"], | ||
}, | ||
"settings": { | ||
"jsdoc": { | ||
"mode": "typescript" | ||
} | ||
}, | ||
"globals": { | ||
"Node": true, | ||
"Range": true, | ||
"HTMLElement": true, | ||
"HTMLDivElement": true, | ||
"Element": true, | ||
"Selection": true, | ||
"SVGElement": true, | ||
"Text": true, | ||
"InsertPosition": true, | ||
"PropertyKey": true, | ||
"MouseEvent": true, | ||
"TouchEvent": true, | ||
"KeyboardEvent": true, | ||
"ClipboardEvent": true, | ||
"DragEvent": true, | ||
"Event": true, | ||
"EventTarget": true, | ||
"Document": true, | ||
"NodeList": true, | ||
"File": true, | ||
"FileList": true, | ||
"MutationRecord": true, | ||
"AddEventListenerOptions": true, | ||
"DataTransfer": true, | ||
"DOMRect": true, | ||
"ClientRect": true, | ||
"ArrayLike": true | ||
} | ||
} |
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,5 @@ | ||
# These are supported funding model platforms | ||
|
||
github: neSpecc | ||
patreon: editorjs | ||
open_collective: editorjs |
30 changes: 30 additions & 0 deletions
30
php_scripts/editor.js-release-2.18/.github/ISSUE_TEMPLATE/bug_report.md
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,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve Editor.js | ||
title: "[Bug]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
Describe a bug. | ||
|
||
Steps to reproduce: | ||
1. Go to … | ||
2. Click on … | ||
3. … | ||
|
||
Expected behavior: | ||
|
||
Screenshots: | ||
|
||
Device, Browser, OS: | ||
|
||
Editor.js version: | ||
|
||
Plugins you use with their versions: | ||
|
||
<!-- | ||
🤫 If you like Editor.js, please consider supporting us via OpenCollective: | ||
https://opencollective.com/editorjs | ||
--> |
11 changes: 11 additions & 0 deletions
11
php_scripts/editor.js-release-2.18/.github/ISSUE_TEMPLATE/config.yml
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,11 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Team | ||
url: mailto:[email protected] | ||
about: Direct team contact. | ||
- name: Editor.js Telegram chat | ||
url: https://t.me/codex_editor | ||
about: Telegram chat for Editor.js users communication. | ||
- name: Editor.js contributors Telegram chat | ||
url: https://t.me/editorjsdev | ||
about: Telegram chat for Editor.js contributors communication. |
17 changes: 17 additions & 0 deletions
17
php_scripts/editor.js-release-2.18/.github/ISSUE_TEMPLATE/discussion.md
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 @@ | ||
--- | ||
name: Discussion | ||
about: Any question about the Editor.js to discuss | ||
title: '' | ||
labels: discussion | ||
assignees: '' | ||
|
||
--- | ||
|
||
The question. | ||
|
||
Why and how the question has come up. | ||
|
||
<!-- | ||
🤫 If you like Editor.js, please consider supporting us via OpenCollective: | ||
https://opencollective.com/editorjs | ||
--> |
19 changes: 19 additions & 0 deletions
19
php_scripts/editor.js-release-2.18/.github/ISSUE_TEMPLATE/feature_request.md
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,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea to improve Editor.js | ||
title: "\U0001F4A1" | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
1. Describe a problem. | ||
|
||
2. Describe the solution you'd like. Mockups are welcome. | ||
|
||
3. Are there any alternatives? | ||
|
||
<!-- | ||
🤫 If you like Editor.js, please consider supporting us via OpenCollective: | ||
https://opencollective.com/editorjs | ||
--> |
24 changes: 24 additions & 0 deletions
24
php_scripts/editor.js-release-2.18/.github/workflows/eslint.yml
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 @@ | ||
name: ESLint CodeX | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
lint: | ||
name: ESlint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache node modules | ||
uses: actions/cache@v1 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.OS }}-build-${{ env.cache-name }}- | ||
${{ runner.OS }}-build- | ||
${{ runner.OS }}- | ||
- run: yarn install | ||
|
||
- run: yarn lint |
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,11 @@ | ||
# --- proj files --- | ||
.DS_Store | ||
Thumbs.db | ||
/.idea/ | ||
/*.sublime-project | ||
/*.sublime-workspace | ||
|
||
node_modules/* | ||
|
||
npm-debug.log | ||
yarn-error.log |
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,48 @@ | ||
[submodule "example/tools/inline-code"] | ||
path = example/tools/inline-code | ||
url = https://github.com/editor-js/inline-code | ||
[submodule "example/tools/header"] | ||
path = example/tools/header | ||
url = https://github.com/editor-js/header | ||
[submodule "example/tools/delimiter"] | ||
path = example/tools/delimiter | ||
url = https://github.com/editor-js/delimiter | ||
[submodule "example/tools/list"] | ||
path = example/tools/list | ||
url = https://github.com/editor-js/list | ||
[submodule "example/tools/quote"] | ||
path = example/tools/quote | ||
url = https://github.com/editor-js/quote | ||
[submodule "example/tools/simple-image"] | ||
path = example/tools/simple-image | ||
url = https://github.com/editor-js/simple-image | ||
[submodule "src/components/tools/paragraph"] | ||
path = src/components/tools/paragraph | ||
url = https://github.com/editor-js/paragraph | ||
[submodule "example/tools/marker"] | ||
path = example/tools/marker | ||
url = https://github.com/editor-js/marker | ||
[submodule "example/tools/code"] | ||
path = example/tools/code | ||
url = https://github.com/editor-js/code | ||
[submodule "example/tools/image"] | ||
path = example/tools/image | ||
url = https://github.com/editor-js/image | ||
[submodule "example/tools/embed"] | ||
path = example/tools/embed | ||
url = https://github.com/editor-js/embed | ||
[submodule "example/tools/table"] | ||
path = example/tools/table | ||
url = https://github.com/editor-js/table | ||
[submodule "example/tools/checklist"] | ||
path = example/tools/checklist | ||
url = https://github.com/editor-js/checklist | ||
[submodule "example/tools/link"] | ||
path = example/tools/link | ||
url = https://github.com/editor-js/link | ||
[submodule "example/tools/raw"] | ||
path = example/tools/raw | ||
url = https://github.com/editor-js/raw | ||
[submodule "example/tools/warning"] | ||
path = example/tools/warning | ||
url = https://github.com/editor-js/warning |
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,19 @@ | ||
.idea/ | ||
build/sprite.svg | ||
docs/ | ||
example/ | ||
src/ | ||
.babelrc | ||
.editorconfig | ||
.eslintrc | ||
.git | ||
.gitmodules | ||
.jshintrc | ||
.postcssrc | ||
.stylelintrc | ||
CODEOWNERS | ||
tsconfig.json | ||
tslint.json | ||
webpack.config.js | ||
yarn.lock | ||
.github |
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 @@ | ||
plugins: | ||
# Consumes files by @import rule | ||
# https://github.com/postcss/postcss-import | ||
postcss-import: {} | ||
|
||
# Apply custom property sets via @apply rule | ||
# https://github.com/pascalduez/postcss-apply | ||
postcss-apply: {} | ||
|
||
# Convert modern CSS into something most browsers can understand | ||
# https://github.com/csstools/postcss-preset-env | ||
postcss-preset-env: | ||
# Polyfill CSS features | ||
# https://github.com/csstools/postcss-preset-env#stage | ||
# | ||
# List of features with levels: https://cssdb.org/ | ||
stage: 0 | ||
|
||
# Define polyfills based on browsers you are supporting | ||
# https://github.com/csstools/postcss-preset-env#browsers | ||
browsers: | ||
- 'last 2 versions' | ||
- '> 1%' | ||
|
||
# Instruct all plugins to omit pre-polyfilled CSS | ||
# https://github.com/csstools/postcss-preset-env#preserve | ||
preserve: false | ||
|
||
# Enable or disable specific polyfills | ||
# https://github.com/csstools/postcss-preset-env#features | ||
# | ||
# List of available plugins | ||
# https://github.com/csstools/postcss-preset-env/blob/master/src/lib/plugins-by-id.js | ||
features: | ||
# Modify colors using the color-mod() function in CSS | ||
# https://github.com/jonathantneal/postcss-color-mod-function | ||
color-mod-function: {} | ||
|
||
# Nested rules unwrapper | ||
# https://github.com/postcss/postcss-nested | ||
# | ||
# As you know 'postcss-preset-env' plugin has an ability to process | ||
# 'postcss-nesting' feature but it does not work with BEM | ||
# Report: https://github.com/csstools/postcss-preset-env/issues/40 | ||
postcss-nested: {} | ||
|
||
# Compression tool | ||
# https://github.com/cssnano/cssnano | ||
cssnano: {} |
Oops, something went wrong.