nam-rich-text-editor 9.0.5 → 9.0.7

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 CHANGED
@@ -5,7 +5,7 @@ A custom rich text editor similar to Word, built with JavaScript and TypeScript.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install nam-rich-text-editor
8
+ npm install rich-text-editor
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -13,7 +13,7 @@ npm install nam-rich-text-editor
13
13
  ### As a Class
14
14
 
15
15
  ```javascript
16
- import { RichTextEditor } from "nam-rich-text-editor";
16
+ import { RichTextEditor } from "rich-text-editor";
17
17
 
18
18
  const editor = new RichTextEditor();
19
19
  const editorElement = editor.getElement();
@@ -30,7 +30,7 @@ editor.setHTML("<p>Hello <strong>world</strong>!</p>");
30
30
 
31
31
  ```jsx
32
32
  import React from "react";
33
- import { RichTextEditorComponent } from "nam-rich-text-editor";
33
+ import { RichTextEditorComponent } from "rich-text-editor";
34
34
 
35
35
  const MyEditor = () => {
36
36
  const handleChange = (html) => {
package/dist/main.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ import "./style.css";