Commit f34c4c37 by Яков

fix

parent 83e51387
{
"name": "react-ag-qeditor",
"version": "1.0.91",
"version": "1.0.92",
"description": "WYSIWYG html editor",
"author": "atma",
"license": "MIT",
......
......@@ -173,8 +173,7 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos }) => {
margin: '0.5rem 0',
position: 'relative',
outline: editing ? `1px dashed ${BORDER_COLOR}` : 'none',
verticalAlign: 'top',
zIndex: 1
verticalAlign: 'top'
};
switch(node.attrs.align) {
......@@ -396,7 +395,6 @@ const ResizableImageExtension = TipTapImage.extend({
shape-outside: ${align.startsWith('wrap-') ? 'margin-box' : 'none'};
vertical-align: top;
position: relative;
z-index: 1;
${align === 'center' ? 'width: 100%; text-align: center;' : ''}
`
}, ['img', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment