markdown-text-editor 0.0.18-beta.1 → 0.0.20-beta.2

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": "markdown-text-editor",
3
- "version": "0.0.18-beta.1",
3
+ "version": "0.0.20-beta.2",
4
4
  "description": "A powerful, easy-to-use Markdown editor with a real-time preview, syntax highlighting. Ideal for developers, writers, and content creators who need a seamless, interactive writing experience with full Markdown support.",
5
5
  "main": "./dist/markdown-text-editor.js",
6
6
  "style": "./dist/markdown-text-editor.css",
@@ -1,2 +1,2 @@
1
1
  // main.js
2
- export { default as markdownEditor } from './markdown/editor';
2
+ export { default as MarkdownEditor } from './markdown/editor';
@@ -8,7 +8,7 @@ marked.setOptions({
8
8
  breaks: true
9
9
  });
10
10
 
11
- class markdownEditor {
11
+ class MarkdownEditor {
12
12
  constructor(selector, options = {}) {
13
13
  this.usertextarea = typeof selector === 'string' ? document.querySelector(selector) : selector;
14
14
  this.options = options;
@@ -137,4 +137,4 @@ class markdownEditor {
137
137
  }
138
138
  }
139
139
 
140
- export default markdownEditor;
140
+ export default MarkdownEditor;