Giter Club home page Giter Club logo

theodorechu / append-editor Goto Github PK

View Code? Open in Web Editor NEW
78.0 5.0 3.0 128.45 MB

Append to your notes @StandardNotes with GitHub Flavored Markdown via CodeMirror, Rich Markdown, and Monaco | https://appendeditor.com

Home Page: https://beta.appendeditor.com

License: Other

JavaScript 91.24% HTML 0.22% SCSS 0.82% CSS 1.72% TypeScript 6.00%
markdown-editor katex end-to-end-encryption standardnotes sn-extensions monaco-editor javascript typescript remark rehype

append-editor's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar theodorechu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

append-editor's Issues

[Feature Request]: Clickable checkboxes in View Mode without using the dynamic editing mode

Is your feature request related to a problem? Please describe.
To check a checkbox, you either have to switch to the live formatting mode (which often breaks existing formatting), or switch to edit mode, find the relevant checkbox, and edit it (which takes too long).

Describe the solution you'd like
Making checkboxes clickable in View Mode, regardless of the editing mode (CodeMirror, Monaco etc.) chosen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
An alternative is to use HTML <input type="checkbox"> instead of native Markdown checkboxes, but that's a bit clunky. This won't work, as the state of the checkbox will not be persistent.

Thanks for making a great editor!

[Feature Request]: Make top bar hide-able

Standard Notes interface is already taking quite a lot of screen space (top bar + status bar), and the Append Editor adds one more top bar. It would be great to be able to toggle UI elements like the Top bar, the up/down arrows, the Minimap in Monaco view, etc.

[Bug]: Section Breaks don't work after a table of content

Describe the bug
First, this is a really nice editor!

I noticed that section breaks don't work after a table of content, see the screenshot for an example.
Not a huge dealbreaker, but I'm a huge fan of section breaks, it keeps a document organized :^)

Thanks!

Expected behavior
Create a section break after a table of contents

Screenshots
image

Desktop (please complete the following information):

  • OS: Win10
  • Browser: Firefox

Custom template when appending content

Is your feature request related to a problem? Please describe.
Appended content is only separated by new lines. I have to add a new heading or a date manually.

Describe the solution you'd like

I would like to be able to define a template which is automatically entered when I append text.
Like this:

...
Date: 2020.05.03
Title:
Text:
...

Privacy concerns for editor mode backends

Hello Theodore,

It is a wonderful feature you've included additional editor mode options for the Append Editor.
However, specially in the case of the Monaco editor, since it is developed by Microsoft I have some privacy concerns.
Is it in any way possible that when using the Monaco editor I will be exposing my notes (or metadata) to Microsoft in any way ? I don't have access to my PC right now so I can't check out the Network connection in the developers option, so if you would be kind enough of elucidating me on this point I would appreciate !

Thank you !

[Bug]: Unable to check the task check box when using the todo list

Describe the bug
A clear and concise description of what the bug is.
I try the example in https://docs.theochu.com/append-editor/to-do-lists/
the to do list display wonderful.
But i cannot find a way to click into the check box to mark it done.
Expected behavior
A clear and concise description of what you expected to happen.
I would like to be able to put a check mark into those nice little square.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

I don't know if this is supported or not?
Thanks for the nice editor

[Bug]: Mobile Editor

Describe the bug
I am not sure this is a bug or not supported at the moment. When I open a note created with the Append-Editor on the smartphone I get the following error

This extension is not installed correctly. Please use the web or des...
Re-Install Extension

To Reproduce
Steps to reproduce the behavior:

  1. Create a note at the desktop with the append-editor
  2. Go to the same note at the smartphone
  3. Open the app

Expected behavior
Use the append editor for the same note

Desktop (please complete the following information):

  • OS: Android

[Feature Request]: Setting to open notes in edit mode

Is your feature request related to a problem? Please describe.
I dislike having to switch from view to edit mode when I open a note
Describe the solution you'd like
A setting in the settings page to "Always open notes in edit mode"

Describe alternatives you've considered
The only other alternative is the current behavior, which I dislike. I use this editor for the GHFM.

Additional context
N/A

[Bug]: Unable to open Settings

Describe the bug
In the desktop and web version I can't open the Settings

To Reproduce
When I click the settings button the setting screen flashes a split second and closes

Desktop

  • Windows 11
  • Desktop Standard Notes version 3.9.13
  • Browser [Chrome and Edge)]

[Feature Request]: Vim keybindings

First of all, this editor is my favourite one and has helped me a lot while taking notes.
I noticed you integrate Codemirror into this editor and since it is possible to enable Vim bindings in CodeMirror I wonder if this could be done as well for the Append editor ?

Thank you and keep up the good work.

[Bug]: Strings are dark blue on dark background (Dynamic Editor)

Describe the bug
I am using the dynamic editor and if i create a codeblock and highlight the code for example as 'SQL' the strings used in querys get highlighted as dark blue which is almost unreadable. I tried using several custom.css import but all of them do not seem to have any effect.

To Reproduce
Steps to reproduce the behavior:

  1. Use a dark theme
  2. Use Dynamic editor
  3. Create a codeblock
  4. Input a string
  5. Highlight as SQL

Expected behavior
Strings get displayed in a more lighter color, that is readable on dark background

Screenshots

raw

Desktop (please complete the following information):

  • OS: Windows 10
  • Standardnotes Desktop App (3.8.18)
  • Appendeditor Version (1.2.6)

[Feature Request]: Ability to move the appendix from bottom to top

Is your feature request related to a problem? Please describe.
Having the option to move the appendix container above the content container in the appearance area, I've used the custom CSS to change it and works for me.

Describe the solution you'd like

div#content.content {
  order: 1;
  padding-top: 5%;
}

div#appendix.appendix {
  padding: 4em 1em 0;
}

Describe alternatives you've considered
Adding the custom CSS

Additional context
Anyone looking to add the CSS to their editor, you need to make sure to "Save these settings as your personal default:" and will only apply to newly created notes and not existing ones. Note this isn't a perfect solution and might not work well for long notes.

2021-02-11_15-31-51

[Feature Request]: FileSafe image embedding

Is your feature request related to a problem? Please describe.
I would like to be able to render images using FileSafe

Describe the solution you'd like
When using a link like:
![test]([FileSafe:80d6f445-0319-4f08-87aa-ebcd6ea34dcb:testimage.png])

Then when using a preview or print PDF, the image contents should be visible

[Bug]: Keyboard shortcuts, Swedish Keyboard, AltGr issues

Describe the bug
On a Swedish keyboard layout [AltGr]+[8] writes a "[" and [AltGr]+[9] an "]". With Append Editor it instead skip to Top/Bottom (fast). I guess this could be because AltGr = Ctrl+Alt ? If possible, please allow a setting to customize or completely disable keyboard shortcuts.

To Reproduce

  1. Enable Swedish keyboard layout (Windows OS)
  2. Try to write [ or ]

Expected behavior
A [ or ] should be produced, skipping to Top/Bottom should require Ctrl.

Desktop (please complete the following information):

  • OS: Windows 10
  • SN Version: 3.8.2
  • Tried all 4 editing modes in Append Editor.

[Bug]: CTRL + F does nothing

Describe the bug
I can't open the search box

To Reproduce
Steps to reproduce the behavior:

Installed => https://notes.theochu.com/p/mEyBECVK7i
Selected "Append Editor"
Selected "Monaco" in the settings" and saved.

Expected behavior
According to your FAQ, CTRL+F should open a search function

Desktop (please complete the following information):

  • OS: Windows 10
  • Desktop client of Standartnotes (v3.8.18)

Additional context
Let me know if I missed something !

[Feature Request]: Inserting small little Picture into the editor using jpeg to text

Is your feature request related to a problem? Please describe.
One lack of thing in Standard Notes is the problem to add image.
I know that it was not meet for that, but a small image would be nice
Let me explain

Describe the solution you'd like
I was wondering about adding a icon that would let us insert a picture into the editor.
The image would in fact be converted to text to be able to save it into Standard Notes using something like https://www.browserling.com/tools/image-to-base64 is doing

I would probably always compress the image to make it as small as possible < 100Kbytes

This options would not be to save hi-res picture but only thumbnails of some sort.

an exemple of an inserted image:
image

Describe alternatives you've considered
i am not a fan of the Filesafe as i don't have a location to save the image.

Thanks for your nice editor
Pat Gadget

[Feature Request]: add KaTeX in Dynamic editing mode

Is your feature request related to a problem? Please describe.
I really like the Dynamic editing mode, but it doesn't support KaTeX.

Describe the solution you'd like
LaTeX equations renderred in the Dynamic editing mode.

Describe alternatives you've considered
Maybe it is possible to use KaTeX library on top of Rich Markdown Editor to render equations in it's output?

Thank you for developing awesome SN editors!

[Bug]: can't edit the note title when Edit Mode is active

Describe the bug
When the Edit Mode is activated, one cannot normally edit the note title as
the cursor is jumping from the title field to the note after adding or removing any new symbol in the title
(except for adding or removing spaces).

To Reproduce
Steps to reproduce the behavior:

  1. Open a note with Append Editor
  2. Activate an Edit Mode if it is not active
  3. Try to edit the note title
  4. The cursor jumps from the title field to the note field

Expected behavior
The cursor should stay in the title field.
When the Edit Mode of the note is not activated, the title can be edited normally.
One should be able to edit the note title regardless of the status of the note Edit Mode.

[Bug]: Append dialog closes immediately after opening

Describe the bug
The dialog closes immediately after opening. Same issue with the settings dialog.

To Reproduce
Steps to reproduce the behavior:

  1. Embed the app into standardnotes
  2. Write a note
  3. Click on the plus icon

Screenshots
Peek 2022-12-10 01-25

Additional context
SN: v3.41.3
append-editor: 1.2.6

[Bug]: Intire note got deleted

Hello,

I had just created a new note and used the Append editor. I had written about 3000 words in a sitting, I then logged out of my PC when I logged in again and started SN, the note I had written only showed the empty prompt of Append Editor "Welcome to the Append Editor! ๐Ÿ‘‹ Your note is empty. ๐Ÿ™‚ Click here to get started. ๐Ÿ“".

This also happened in other notes I had written with the Append Editor, so I removed the extension and installed again. The other notes got back to displaying correctly in the editor, however the note I had spent about 40min just writing disappeared completely and I cannot even find any part of it in the History menu..

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.