@liteeditor/editor 1.2.4 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liteeditor/editor",
3
- "version": "1.2.4",
3
+ "version": "1.3.0",
4
4
  "description": "Lightweight JavaScript WYSIWYG editor \u2014 vanilla JS, no jQuery, no dependencies. A modern TinyMCE alternative.",
5
5
  "type": "module",
6
6
  "main": "./dist/liteeditor.cjs",
package/types/index.d.ts CHANGED
@@ -10,6 +10,10 @@ export interface LiteEditorConfig {
10
10
  /** TinyMCE-style menubar. `true` = all menus, or a space-separated subset
11
11
  * like "file edit format". Default: off. */
12
12
  menubar?: boolean | string;
13
+ /** Stylesheet URL(s) injected into the editing area so content looks like your site. */
14
+ content_css?: string | string[];
15
+ /** Raw CSS injected into the editing area (applied after content_css). */
16
+ content_style?: string;
13
17
  /** Editor height in pixels. */
14
18
  height?: number;
15
19
  /** Your LiteEditor API key (from https://liteeditor.com). */