diff --git a/public/react/src/common/quillForEditor/ImageBlot.js b/public/react/src/common/quillForEditor/ImageBlot.js index 85f176aff..d00f2bafd 100644 --- a/public/react/src/common/quillForEditor/ImageBlot.js +++ b/public/react/src/common/quillForEditor/ImageBlot.js @@ -4,7 +4,7 @@ * @Github: * @Date: 2019-12-16 15:50:45 * @LastEditors : tangjiang - * @LastEditTime : 2019-12-27 11:04:43 + * @LastEditTime : 2019-12-27 15:07:11 */ import Quill from "quill"; @@ -37,7 +37,7 @@ export default class ImageBlot extends BlockEmbed { node.setAttribute('width', '100%'); } - node.setAttribute('style', { cursor: 'pointer' }); + // node.setAttribute('style', { cursor: 'pointer' }); // if (node.onclick) { // console.log('image 有图片点击事件======》》》》》》'); @@ -60,7 +60,7 @@ export default class ImageBlot extends BlockEmbed { height: node.height, display: node.getAttribute('display'), id: node.id, - style: node.style + // style: node.style }; } } diff --git a/public/react/src/common/quillForEditor/index.scss b/public/react/src/common/quillForEditor/index.scss index ca3071b58..3e951e2b6 100644 --- a/public/react/src/common/quillForEditor/index.scss +++ b/public/react/src/common/quillForEditor/index.scss @@ -2,4 +2,9 @@ .ql-editing{ left: 0 !important; } + .ql-editor{ + img{ + cursor: pointer; + } + } } \ No newline at end of file