Skip to content

Commit

Permalink
expertjs added
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhu007 committed May 24, 2020
1 parent cd24236 commit 217bc77
Show file tree
Hide file tree
Showing 166 changed files with 27,955 additions and 0 deletions.
14 changes: 14 additions & 0 deletions php_scripts/editor.js-release-2.18/.babelrc
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"
]
}
9 changes: 9 additions & 0 deletions php_scripts/editor.js-release-2.18/.editorconfig
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
4 changes: 4 additions & 0 deletions php_scripts/editor.js-release-2.18/.eslintignore
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
45 changes: 45 additions & 0 deletions php_scripts/editor.js-release-2.18/.eslintrc
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
}
}
5 changes: 5 additions & 0 deletions php_scripts/editor.js-release-2.18/.github/FUNDING.yml
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
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
-->
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.
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
-->
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 php_scripts/editor.js-release-2.18/.github/workflows/eslint.yml
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
11 changes: 11 additions & 0 deletions php_scripts/editor.js-release-2.18/.gitignore
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
48 changes: 48 additions & 0 deletions php_scripts/editor.js-release-2.18/.gitmodules
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
19 changes: 19 additions & 0 deletions php_scripts/editor.js-release-2.18/.npmignore
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
49 changes: 49 additions & 0 deletions php_scripts/editor.js-release-2.18/.postcssrc.yml
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: {}
Loading

0 comments on commit 217bc77

Please sign in to comment.