A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: handle img, iframe, table overflow in editor
thecodrr12440a09ec5a
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.jsindex 5221a9e5f..794eb824e 100644--- a/apps/web/src/components/editor/tinymce.js+++ b/apps/web/src/components/editor/tinymce.js@@ -165,6 +165,28 @@ function TinyMCE(props) {pre.codeblock {overflow-x: auto;}++ img {+ max-width:100% !important;+ height:auto !important;+ }++ iframe {+ max-width:100% !important;+ }++ table {+ display: block !important;+ overflow-x: auto !important;+ white-space: nowrap !important;+ max-width:100% !important;+ width:100% !important;+ height:auto !important;+ }++ td {+ min-width:20vw !important;+ }`,toolbar: simple? false