Commit e6cde1d6 by Яков

выравнивание картинки, обтекание текста, ресайз

parent 5b504659
{
"name": "react-ag-qeditor",
"version": "1.0.87",
"version": "1.0.88",
"description": "WYSIWYG html editor",
"author": "atma",
"license": "MIT",
......
......@@ -233,7 +233,7 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos }) => {
onClick={() => handleAlign(align)}
style={{
margin: '0 2px',
padding: '4px 8px',
padding: '10px 8px',
background: node.attrs.align === align ? '#e6f7ff' : 'transparent',
border: '1px solid #d9d9d9',
borderRadius: 2,
......@@ -259,7 +259,7 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos }) => {
backgroundColor: 'white',
border: `1px solid ${BORDER_COLOR}`,
borderRadius: 4,
padding: '2px 8px',
padding: '8px 8px',
cursor: 'pointer',
fontSize: 12,
zIndex: 10
......
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