@blocklet/editor 2.4.107 → 2.4.109
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.
|
@@ -122,7 +122,7 @@ export class ImageNode extends DecoratorNode {
|
|
|
122
122
|
const { theme } = config;
|
|
123
123
|
const className = theme.image;
|
|
124
124
|
if (className !== undefined) {
|
|
125
|
-
span.className = className
|
|
125
|
+
span.className = `${className} be-image`;
|
|
126
126
|
}
|
|
127
127
|
return span;
|
|
128
128
|
}
|
|
@@ -23,6 +23,7 @@ import { ExcalidrawNode } from './ExcalidrawNode';
|
|
|
23
23
|
import { FigmaNode } from './FigmaNode';
|
|
24
24
|
import { ImageNode } from './ImageNode';
|
|
25
25
|
import { MermaidNode } from './MermaidNode';
|
|
26
|
+
import { KeywordNode } from './KeywordNode';
|
|
26
27
|
import { MentionNode } from './MentionNode';
|
|
27
28
|
import { TweetNode } from './TweetNode';
|
|
28
29
|
import { YouTubeNode } from './YouTubeNode';
|
|
@@ -59,6 +60,7 @@ const PlaygroundNodes = [
|
|
|
59
60
|
EmojiNode,
|
|
60
61
|
ExcalidrawNode,
|
|
61
62
|
EquationNode,
|
|
63
|
+
KeywordNode,
|
|
62
64
|
HorizontalRuleNode,
|
|
63
65
|
TweetNode,
|
|
64
66
|
YouTubeNode,
|
|
@@ -129,8 +129,8 @@ const StyledEditorWrapper = styled(Box) `
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@container blocklet-editor (max-width: 1000px) {
|
|
132
|
-
.be-editable
|
|
133
|
-
.be-editable
|
|
132
|
+
.be-editable span.be-image,
|
|
133
|
+
.be-editable span.be-image img {
|
|
134
134
|
width: 100% !important;
|
|
135
135
|
}
|
|
136
136
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/editor",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.109",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"ufo": "^1.5.4",
|
|
74
74
|
"url-join": "^4.0.1",
|
|
75
75
|
"zustand": "^4.5.5",
|
|
76
|
-
"@blocklet/pdf": "2.4.
|
|
76
|
+
"@blocklet/pdf": "2.4.109"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@babel/core": "^7.25.2",
|