Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich Text Editor: easier switch to raw text view #1090

Open
usernamehyphen opened this issue Aug 8, 2023 · 1 comment
Open

Rich Text Editor: easier switch to raw text view #1090

usernamehyphen opened this issue Aug 8, 2023 · 1 comment
Labels
feature request Requests for complete new features needs discussion Need to clarify if and how we should implement this

Comments

@usernamehyphen
Copy link

usernamehyphen commented Aug 8, 2023

Is your feature request related to a problem? Please describe.
Rich text editor is cool and whatever, but can't handle markdown as pasta, i'd prefer to have a button to switch to raw text rather than opening settings, scrolling through and finding a popup to switch to raw just to paste and then go back to settings and switch it back..

Describe the solution you'd like
easily accessible GUI element (button) to switch between wysiwyg editor and raw text.

Describe alternatives you've considered

Additional context

@usernamehyphen usernamehyphen added feature request Requests for complete new features needs discussion Need to clarify if and how we should implement this labels Aug 8, 2023
@usernamehyphen usernamehyphen changed the title Rich Text Editor: switch to raw and get rid of translate Rich Text Editor: easier switch to raw text view Aug 9, 2023
@Aerilius
Copy link

Aerilius commented Dec 7, 2023

I also would like this to become real in foreseeable future. There is a significant amount of users asking for this.
See nextcloud/text#3570 and nextcloud/deck#4594

Use cases:

  • As a user, I want to check the syntax produced by the rich editor, or insert advanced syntax not supported by the GUI buttons (e.g. math formulas, code block in list item)
  • As a user, I want to copy formatted text from the Rich text editor and paste raw into another plain editor application. Currently, all the formatting and list bullets get lost.

Five clicks through settings (and then reverse) is an inacceptable situation for something that could be a single click.

I looked into the Notes code for adding a button in NotePlain that toggles noteMode to rich and vice versa in NoteRich. However, I cannot easily patch a button into NoteRich because it is loaded from an external dependency, Nextcloud Text. Unfortunately, Nextcloud Text has different goals and additional requirements (collaborative editing), which are in the way of realizing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for complete new features needs discussion Need to clarify if and how we should implement this
Projects
None yet
Development

No branches or pull requests

2 participants