markdown-text-editor 0.1.3 → 0.1.4
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 +24 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/markdown-text-editor.css +1 -1
- package/dist/markdown-text-editor.css.map +1 -1
- package/dist/markdown-text-editor.js +1 -1
- package/dist/markdown-text-editor.js.map +1 -1
- package/package.json +13 -5
- package/src/plugins/markdown/preview.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-text-editor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "A simple JavaScript Markdown editor plugin with real-time preview, and easy integration.",
|
|
5
5
|
"main": "./dist/markdown-text-editor.js",
|
|
6
6
|
"browser": "dist/markdown-text-editor.js",
|
|
@@ -27,8 +27,10 @@
|
|
|
27
27
|
"markdown",
|
|
28
28
|
"mde",
|
|
29
29
|
"markdown js library",
|
|
30
|
+
"markdown js plugin",
|
|
30
31
|
"editor",
|
|
31
32
|
"markdown editor",
|
|
33
|
+
"Simple Markdown editor js plugin",
|
|
32
34
|
"text editor",
|
|
33
35
|
"markdown preview",
|
|
34
36
|
"markdown syntax",
|
|
@@ -39,7 +41,13 @@
|
|
|
39
41
|
"code editor",
|
|
40
42
|
"editor plugin",
|
|
41
43
|
"text formatting",
|
|
42
|
-
"markdown-text-editor"
|
|
44
|
+
"markdown-text-editor",
|
|
45
|
+
"Tailwind css markdown editor",
|
|
46
|
+
"Tailwind css markdown",
|
|
47
|
+
"WYSIWYG-style markdown editor",
|
|
48
|
+
"Simple Markdown",
|
|
49
|
+
"Responsive markdown js editor",
|
|
50
|
+
"RTL Support markdown editor"
|
|
43
51
|
],
|
|
44
52
|
"author": "Nezanuha",
|
|
45
53
|
"license": "MIT",
|
|
@@ -48,13 +56,12 @@
|
|
|
48
56
|
"url": "https://github.com/nezanuha/markdown-text-editor/issues"
|
|
49
57
|
},
|
|
50
58
|
"dependencies": {
|
|
51
|
-
"
|
|
52
|
-
"marked": "~15.0.4",
|
|
53
|
-
"tailwindcss": "~3.4.13"
|
|
59
|
+
"marked": "~15.0.7"
|
|
54
60
|
},
|
|
55
61
|
"devDependencies": {
|
|
56
62
|
"@babel/core": "^7.25.2",
|
|
57
63
|
"@babel/preset-env": "^7.25.4",
|
|
64
|
+
"@tailwindcss/typography": "^0.5.15",
|
|
58
65
|
"autoprefixer": "^10.4.20",
|
|
59
66
|
"babel-loader": "^9.2.1",
|
|
60
67
|
"css-loader": "^7.1.2",
|
|
@@ -65,6 +72,7 @@
|
|
|
65
72
|
"postcss-loader": "^8.1.1",
|
|
66
73
|
"rimraf": "^6.0.1",
|
|
67
74
|
"style-loader": "^4.0.0",
|
|
75
|
+
"tailwindcss": "^3.4.17",
|
|
68
76
|
"terser-webpack-plugin": "^5.3.11",
|
|
69
77
|
"webpack": "^5.95.0",
|
|
70
78
|
"webpack-cli": "^6.0.1",
|
|
@@ -4,7 +4,7 @@ class Preview {
|
|
|
4
4
|
this.previewContainer = document.createElement('div');
|
|
5
5
|
this.previewContainer.className = 'preview-wrapper bg-white dark:bg-stone-800 p-2 hidden';
|
|
6
6
|
this.previewContent = document.createElement('div');
|
|
7
|
-
this.previewContent.className = 'preview-content prose prose-sm md:prose-base dark:prose-invert p-1.5 overflow-y-auto h-[90lvh] max-w-
|
|
7
|
+
this.previewContent.className = 'preview-content prose prose-sm md:prose-base dark:prose-invert p-1.5 overflow-y-auto h-[90lvh] max-w-full';
|
|
8
8
|
this.previewContainer.appendChild(this.previewContent);
|
|
9
9
|
container.appendChild(this.previewContainer);
|
|
10
10
|
}
|