@ctzhian/tiptap 1.5.6 → 1.5.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.
|
@@ -174,7 +174,8 @@ var LinkViewWrapper = function LinkViewWrapper(_ref) {
|
|
|
174
174
|
alignSelf: 'center',
|
|
175
175
|
bgcolor: '#FFFFFF'
|
|
176
176
|
},
|
|
177
|
-
src: favicon
|
|
177
|
+
src: favicon,
|
|
178
|
+
component: "span"
|
|
178
179
|
}, /*#__PURE__*/React.createElement(LinkIcon, {
|
|
179
180
|
sx: {
|
|
180
181
|
fontSize: '2rem',
|
|
@@ -219,16 +220,15 @@ var LinkViewWrapper = function LinkViewWrapper(_ref) {
|
|
|
219
220
|
display: 'inline-flex',
|
|
220
221
|
alignItems: 'baseline',
|
|
221
222
|
gap: 0.5,
|
|
222
|
-
fontWeight: 500
|
|
223
|
-
pointerEvents: 'none'
|
|
223
|
+
fontWeight: 500
|
|
224
224
|
}
|
|
225
225
|
}, attrs.type === 'icon' && /*#__PURE__*/React.createElement(Avatar, {
|
|
226
|
+
component: "span",
|
|
226
227
|
sx: {
|
|
227
228
|
width: '1rem',
|
|
228
229
|
height: '1rem',
|
|
229
230
|
alignSelf: 'center',
|
|
230
|
-
bgcolor: '#FFFFFF'
|
|
231
|
-
pointerEvents: 'none'
|
|
231
|
+
bgcolor: '#FFFFFF'
|
|
232
232
|
},
|
|
233
233
|
src: favicon
|
|
234
234
|
}, /*#__PURE__*/React.createElement(LinkIcon, {
|