update style

dev_tpm_ui
tangjiang 5 years ago
parent be7d87c805
commit 9bc3798bcd

@ -4,7 +4,7 @@
* @Github: * @Github:
* @Date: 2019-12-16 15:50:45 * @Date: 2019-12-16 15:50:45
* @LastEditors : tangjiang * @LastEditors : tangjiang
* @LastEditTime : 2019-12-27 11:04:43 * @LastEditTime : 2019-12-27 15:07:11
*/ */
import Quill from "quill"; import Quill from "quill";
@ -37,7 +37,7 @@ export default class ImageBlot extends BlockEmbed {
node.setAttribute('width', '100%'); node.setAttribute('width', '100%');
} }
node.setAttribute('style', { cursor: 'pointer' }); // node.setAttribute('style', { cursor: 'pointer' });
// if (node.onclick) { // if (node.onclick) {
// console.log('image 有图片点击事件======》》》》》》'); // console.log('image 有图片点击事件======》》》》》》');
@ -60,7 +60,7 @@ export default class ImageBlot extends BlockEmbed {
height: node.height, height: node.height,
display: node.getAttribute('display'), display: node.getAttribute('display'),
id: node.id, id: node.id,
style: node.style // style: node.style
}; };
} }
} }

@ -2,4 +2,9 @@
.ql-editing{ .ql-editing{
left: 0 !important; left: 0 !important;
} }
.ql-editor{
img{
cursor: pointer;
}
}
} }
Loading…
Cancel
Save