@editora/core 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/{CollaborationPlugin.native-B2AsCMfm.mjs → CollaborationPlugin.native-B9aiC2s7.mjs} +923 -898
- package/dist/{TextColorPlugin.native-C2IjioNM.mjs → TextColorPlugin.native-30VvsUUv.mjs} +2 -2
- package/dist/editora.min.js +2 -2
- package/dist/editora.umd.js +2 -2
- package/dist/{index-8sr_lMjf.mjs → index-8WhEVFK8.mjs} +164 -160
- package/dist/{index-hTD8Iy46.js → index-DMk3V5_f.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/plugin-loader.js +2 -2
- package/dist/webcomponent-core.js +223 -219
- package/dist/webcomponent-core.min.js +19 -19
- package/dist/webcomponent.cjs.js +1 -1
- package/dist/webcomponent.esm.js +1 -1
- package/dist/webcomponent.js +134 -130
- package/dist/webcomponent.min.js +197 -197
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -243,7 +243,7 @@ loaded by, is in [`@editora/plugins`](https://www.npmjs.com/package/@editora/plu
|
|
|
243
243
|
|
|
244
244
|
| File | Contains |
|
|
245
245
|
| --- | --- |
|
|
246
|
-
| `dist/webcomponent.js` | Every plugin.
|
|
246
|
+
| `dist/webcomponent.js` | Every plugin. List the ones you want in `plugins`; leave it out and all load except `collaboration`, which needs a server. |
|
|
247
247
|
| `dist/webcomponent-core.js` | Ten essentials: `bold`, `italic`, `underline`, `strikethrough`, `clearFormatting`, `heading`, `blockquote`, `code`, `list` and `history`. |
|
|
248
248
|
|
|
249
249
|
Each has its own stylesheet (`webcomponent.min.css`, `webcomponent-core.min.css`).
|
|
@@ -257,10 +257,11 @@ Each has its own stylesheet (`webcomponent.min.css`, `webcomponent-core.min.css`
|
|
|
257
257
|
</editora-editor>
|
|
258
258
|
```
|
|
259
259
|
|
|
260
|
-
> [!
|
|
261
|
-
>
|
|
262
|
-
>
|
|
263
|
-
> you give it your own
|
|
260
|
+
> [!NOTE]
|
|
261
|
+
> List the plugins you want. If you leave `plugins` out, every plugin in the bundle is loaded **except `collaboration`**,
|
|
262
|
+
> because it sends the document to a server. It loads only when you name it in `plugins` (or configure it under
|
|
263
|
+
> `pluginConfig`), and then stays off until you give it your own `websocketUrl` or a `provider`. Earlier versions loaded
|
|
264
|
+
> it by default and synced through a public Yjs demo server, in a room shared by every default editor. See
|
|
264
265
|
> [`@editora/plugins`](https://www.npmjs.com/package/@editora/plugins#collaboration).
|
|
265
266
|
|
|
266
267
|
## Security
|