@import "util/mixin"; @import "component/tooltips"; @import "component/typography"; @import "protyle/wysiwyg"; @import "protyle/attr"; @import "util/function"; @import "business/history"; @import "component/button"; @import "component/select"; @import "component/switch"; @import "component/slider"; @import "component/text-field"; .protyle-wysiwyg { font-family: var(--b3-font-family); } .protyle-wysiwyg a, .b3-typography a { color: var(--b3-protyle-inline-link-color); cursor: pointer; transition: var(--b3-transition); } svg { fill: currentColor; display: inline-block; } .protyle-wysiwyg [data-node-id].iframe:hover .protyle-action__drag { display: none; } .b3-typography, .protyle-wysiwyg [data-node-id].table { table { display: table; } } @media print { .protyle-wysiwyg [data-node-id] { // 尽量避免音频块内分页 &[data-type=NodeAudio], // 尽量避免图表块内分页 &[data-type=NodeCodeBlock].render-node, // 尽量避免标题块内分页 &[data-type=NodeHeading], // 尽量避免 Iframe 块内分页 &[data-type=NodeIFrame], // 尽量避免公式块内分页 &[data-type=NodeMathBlock], // 尽量避免段落块内分页 &[data-type=NodeParagraph], // 尽量避免分割线内分页 &[data-type=NodeThematicBreak], // 尽量避免视频块内分页 &[data-type=NodeVideo], // 尽量避免挂件块内分页 &[data-type=NodeWidget], // 尽量避免图片内分页 .img { break-inside: avoid; } } }