@lobehub/editor 1.18.1 → 1.18.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.
@@ -126,8 +126,8 @@ export var MarkdownPlugin = (_class = /*#__PURE__*/function (_KernelPlugin) {
126
126
  if (!clipboardData) return false;
127
127
 
128
128
  // Get clipboard content
129
- var text = clipboardData.getData('text/plain');
130
- var html = clipboardData.getData('text/html');
129
+ var text = clipboardData.getData('text/plain').trimEnd();
130
+ var html = clipboardData.getData('text/html').trimEnd();
131
131
 
132
132
  // If there's no text content, let Lexical handle it
133
133
  if (!text) return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/editor",
3
- "version": "1.18.1",
3
+ "version": "1.18.2",
4
4
  "description": "A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.",
5
5
  "keywords": [
6
6
  "lobehub",