mirror of
https://github.com/codex-team/editor.js
synced 2024-05-19 06:47:16 +02:00
2df18b00b0
* Abstract Module class Now all modules inherits from `Module` class. You don’t need more to write ```js constructor({ config }) { this.Editor = null; this.config = config; } ``` and ```js /** * @param Editor * @param Editor.modules {@link CodexEditor#moduleInstances} * @param Editor.config {@link CodexEditor#configuration} */ set state(Editor) { this.Editor = Editor; } ``` ## Default exports improved Now you don’t need more to write `.default` on module requiring ```js let module = require(‘module’).default; ``` * Update docs
14 lines
160 B
Plaintext
14 lines
160 B
Plaintext
# --- proj files ---
|
|
.DS_Store
|
|
Thumbs.db
|
|
/.idea/
|
|
/*.sublime-project
|
|
/*.sublime-workspace
|
|
|
|
node_modules/*
|
|
/server/
|
|
/uploads/
|
|
|
|
plugins/personality/
|
|
|
|
npm-debug.log |