rt-native 1.0.117 → 1.0.119

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.
Files changed (3) hide show
  1. package/README.md +27 -27
  2. package/package.json +1 -1
  3. package/rt-native.js +1 -1
package/README.md CHANGED
@@ -13,28 +13,28 @@
13
13
  3. [Quick Start](#quick-start)
14
14
  4. [HTML Attributes](#html-attributes)
15
15
  5. [JavaScript API](#javascript-api)
16
- - [getValue()](#getvalue)
17
- - [getPlainText()](#getplaintext)
18
- - [setValue()](#setvalue)
19
- - [configure()](#configure)
20
- - [setReadOnly()](#setreadonly)
21
- - [setPreviewCssFiles()](#setpreviewcssfiles)
22
- - [setPreviewCssFile()](#setpreviewcssfile)
23
- - [setPreviewCss()](#setpreviewcss)
24
- - [addCustomButton()](#addcustombutton)
25
- - [setCustomButtons()](#setcustombuttons)
26
- - [removeCustomButton()](#removecustombutton)
27
- - [clearCustomButtons()](#clearcustombuttons)
16
+ - [getValue()](#getvalue)
17
+ - [getPlainText()](#getplaintext)
18
+ - [setValue()](#setvalue)
19
+ - [configure()](#configure)
20
+ - [setReadOnly()](#setreadonly)
21
+ - [setPreviewCssFiles()](#setpreviewcssfiles)
22
+ - [setPreviewCssFile()](#setpreviewcssfile)
23
+ - [setPreviewCss()](#setpreviewcss)
24
+ - [addCustomButton()](#addcustombutton)
25
+ - [setCustomButtons()](#setcustombuttons)
26
+ - [removeCustomButton()](#removecustombutton)
27
+ - [clearCustomButtons()](#clearcustombuttons)
28
28
  6. [Events](#events)
29
29
  7. [CSS Variables](#css-variables)
30
- - [Toolbar](#toolbar-variables)
31
- - [Buttons](#button-variables)
32
- - [Content Area](#content-area-variables)
33
- - [Editor Container](#editor-container-variables)
34
- - [Scrollbars](#scrollbar-variables)
35
- - [Blockquote](#blockquote-variables)
36
- - [Code / Pre](#code--pre-variables)
37
- - [Modals & Dialogs](#modal--dialog-variables)
30
+ - [Toolbar](#toolbar-variables)
31
+ - [Buttons](#button-variables)
32
+ - [Content Area](#content-area-variables)
33
+ - [Editor Container](#editor-container-variables)
34
+ - [Scrollbars](#scrollbar-variables)
35
+ - [Blockquote](#blockquote-variables)
36
+ - [Code / Pre](#code--pre-variables)
37
+ - [Modals & Dialogs](#modal--dialog-variables)
38
38
  8. [Theming with CSS Classes](#theming-with-css-classes)
39
39
  9. [Preview Window Styling](#preview-window-styling)
40
40
  10. [Toolbar Buttons](#toolbar-buttons)
@@ -366,13 +366,13 @@ editor.addCustomButton({
366
366
  });
367
367
  ```
368
368
 
369
- | Property | Type | Required | Description |
370
- | --- | --- | --- | --- |
371
- | id | string | yes | Unique identifier for the button. |
372
- | title | string | — | Tooltip text and accessible label. Defaults to `id`. |
373
- | svg | string | — | SVG markup rendered as the button icon. |
374
- | onClick | Function \| string | — | Called when the button is clicked. A string is resolved as a dot-path on `window` (e.g. `'myApp.handleStamp'`). Receives `(event, editor, instance)`. |
375
- | disabled | boolean | — | When `true` the button is rendered but not clickable. |
369
+ | Property | Type | Required | Description | |
370
+ | --- | --- | --- | --- | --- |
371
+ | id | string | yes | Unique identifier for the button. | |
372
+ | title | string | — | Tooltip text and accessible label. Defaults to `id`. | |
373
+ | svg | string | — | SVG markup rendered as the button icon. | |
374
+ | onClick | Function \\ | string | — | Called when the button is clicked. A string is resolved as a dot-path on `window` (e.g. `'myApp.handleStamp'`). Receives `(event, editor, instance)`. |
375
+ | disabled | boolean | — | When `true` the button is rendered but not clickable. | |
376
376
 
377
377
  ### setCustomButtons()
378
378
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rt-native",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "description": "rt-native HTML Editor is a free native web component that provides accessibility features and a wide variety of elements and customizations that make it one of the most robust and flexible HTML editors available. It allows the programmer to apply custom .css files to the preview window, so see how the content will be displayed in production. The editor uses embedded .svg Google Font Icons and the shadow DOM to isolate the HTML from inheriting the existing page styles. No frameworks, no build step, no dependencies — drop one script tag into any HTML page and you're done.",
5
5
  "main": "rt-native.js",
6
6
  "exports": {