tiptop-editor 2.3.5 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +1 -1
- package/dist/components/comment/CommentButton.d.ts +1 -1
- package/dist/components/comment/CommentSelectionMenu.d.ts +1 -1
- package/dist/components/comment/CommentsContext.d.ts +1 -1
- package/dist/components/editor/DragHandleColorList.d.ts +2 -1
- package/dist/components/editor/TableSelectionMenu.d.ts +1 -1
- package/dist/components/editor/TiptopDragHandle.d.ts +1 -1
- package/dist/components/editor/TransformIntoIcon.d.ts +1 -1
- package/dist/components/menus/ColorButton.d.ts +1 -1
- package/dist/components/menus/ColorButtonMenu.d.ts +1 -1
- package/dist/components/menus/LinkButtonMenu.d.ts +1 -1
- package/dist/components/menus/LinkPreviewMenu.d.ts +1 -1
- package/dist/components/menus/MoreOptionsButtonMenu.d.ts +1 -1
- package/dist/components/menus/TableButtonMenu.d.ts +1 -1
- package/dist/components/menus/TextSelectionMenu.d.ts +1 -1
- package/dist/components/menus/TransformIntoButtonMenu.d.ts +1 -1
- package/dist/components/ui/CloseIcon.d.ts +1 -1
- package/dist/components/ui/ColorIcon.d.ts +1 -1
- package/dist/components/ui/EditorButton.d.ts +1 -1
- package/dist/components/ui/Icon.d.ts +1 -1
- package/dist/extensions/image/ImageUploaderView.d.ts +2 -1
- package/dist/tiptop-editor.css +1 -1
- package/dist/tiptop-editor.es.js +379 -238
- package/dist/tiptop-editor.umd.js +12 -10
- package/dist/webview/bundle.css +1 -0
- package/dist/webview/bundle.js +166 -0
- package/dist/webview/editor.d.ts +1 -0
- package/dist/webview/editor.js +3 -0
- package/dist/webview/index.html +13 -0
- package/package.json +9 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;background:#fff;color:#111}@media(prefers-color-scheme:dark){html,body,#root{background:#141414;color:#ececec}}#root{padding:4px 16px 160px}.tiptap{outline:none;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:16px;line-height:1.65;min-height:200px}.tiptap>*+*{margin-top:.6em}.tiptap p{margin-bottom:0}.tiptap h1{font-size:1.75em;font-weight:700;line-height:1.2}.tiptap h2{font-size:1.35em;font-weight:700;line-height:1.3}.tiptap h3{font-size:1.15em;font-weight:600;line-height:1.3}.tiptap ul,.tiptap ol{padding-left:1.4em}.tiptap li{margin-bottom:.2em}.tiptap blockquote{border-left:3px solid #d1d5db;padding-left:1em;color:#6b7280;font-style:italic}.tiptap code{background:#f3f4f6;border-radius:4px;padding:.1em .35em;font-size:.88em;font-family:Menlo,Monaco,Courier New,monospace}.tiptap pre{background:#1f2937;color:#f9fafb;padding:1em;border-radius:8px;overflow-x:auto}.tiptap pre code{background:none;color:inherit;padding:0}.tiptap hr{border:none;border-top:2px solid #e5e7eb}.tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#9ca3af;pointer-events:none;float:left;height:0}@media(prefers-color-scheme:dark){.tiptap blockquote{border-color:#4b5563;color:#9ca3af}.tiptap code{background:#374151;color:#f9fafb}.tiptap hr{border-color:#374151}}
|