Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

minor fixes in editor

ammarahm-ed0dc04999cf9a
diff --git a/apps/mobile/android/app/src/main/assets/constants.js b/apps/mobile/android/app/src/main/assets/constants.js
index b9b5ca54a..1af879759 100755
--- a/apps/mobile/android/app/src/main/assets/constants.js
+++ b/apps/mobile/android/app/src/main/assets/constants.js
@@ -32,8 +32,8 @@ const markdownPatterns = [
{start: '#####', format: 'h5'},
{start: '######', format: 'h6'},
{start: '* ', cmd: 'InsertUnorderedList'},
- {start: '- [ ] ', cmd: 'InsertCheckList'},
- {start: '- [x] ', cmd: 'InsertCheckList', value: 'checked'},
+ {start: '- [ ] ', cmd: 'insertCheckList'},
+ {start: '- [x] ', cmd: 'insertCheckList', value: 'checked'},
{start: '- ', cmd: 'InsertUnorderedList'},
{start: '> ', format: 'blockquote'},
{
diff --git a/apps/mobile/android/app/src/main/assets/init.js b/apps/mobile/android/app/src/main/assets/init.js
index b638d17ec..bed0300f2 100755
--- a/apps/mobile/android/app/src/main/assets/init.js
+++ b/apps/mobile/android/app/src/main/assets/init.js
@@ -124,9 +124,6 @@ function init_tiny(size) {
],
toolbar: false,
paste_data_images: true,
- /* images_upload_handler: function (blobInfo, success, failure) {
- success('data:' + blobInfo.blob().type + ';base64,' + blobInfo.base64());
- }, */
statusbar: false,
textpattern_patterns: markdownPatterns,
contextmenu: false,
@@ -162,11 +159,6 @@ function init_tiny(size) {
.mce-content-body h5::before {
content: "H5";
}
-
- .mce-content-body blockquote::before {
- content: "QUOTE";
- margin-left: 0px !important;
- }
.h {
display: none;
diff --git a/apps/mobile/html/Web.bundle/site/constants.js b/apps/mobile/html/Web.bundle/site/constants.js
index b9b5ca54a..1af879759 100755
--- a/apps/mobile/html/Web.bundle/site/constants.js
+++ b/apps/mobile/html/Web.bundle/site/constants.js
@@ -32,8 +32,8 @@ const markdownPatterns = [
{start: '#####', format: 'h5'},
{start: '######', format: 'h6'},
{start: '* ', cmd: 'InsertUnorderedList'},
- {start: '- [ ] ', cmd: 'InsertCheckList'},
- {start: '- [x] ', cmd: 'InsertCheckList', value: 'checked'},
+ {start: '- [ ] ', cmd: 'insertCheckList'},
+ {start: '- [x] ', cmd: 'insertCheckList', value: 'checked'},
{start: '- ', cmd: 'InsertUnorderedList'},
{start: '> ', format: 'blockquote'},
{
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.js
index b638d17ec..bed0300f2 100755
--- a/apps/mobile/html/Web.bundle/site/init.js
+++ b/apps/mobile/html/Web.bundle/site/init.js
@@ -124,9 +124,6 @@ function init_tiny(size) {
],
toolbar: false,
paste_data_images: true,
- /* images_upload_handler: function (blobInfo, success, failure) {
- success('data:' + blobInfo.blob().type + ';base64,' + blobInfo.base64());
- }, */
statusbar: false,
textpattern_patterns: markdownPatterns,
contextmenu: false,
@@ -162,11 +159,6 @@ function init_tiny(size) {
.mce-content-body h5::before {
content: "H5";
}
-
- .mce-content-body blockquote::before {
- content: "QUOTE";
- margin-left: 0px !important;
- }
.h {
display: none;