Skip to content

Feature: Added wysiwyg editor for api documentaion - #3904

Closed
sanish-bruno wants to merge 3 commits into
usebruno:mainfrom
sanish-bruno:feat/wysiwig
Closed

sanish-bruno wants to merge 3 commits into
usebruno:mainfrom
sanish-bruno:feat/wysiwig

Conversation

@sanish-bruno

Copy link
Copy Markdown
Collaborator

Description

adding wysiwyg editor , and give the functionality to switch between the markdown and wysiwyg editors

Screen.Recording.2025-01-29.at.1.58.44.PM.mov

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

…list styles and command state management, reactivity when in active state
@nikischin

Copy link
Copy Markdown
Contributor

This looks really cool! Thank you a lot for the Screen Cast provided.

For me the toggling between text, editor and preview is a bit confusing. I would personally prefer to have three tabs instead of two modes to switch.

What do you think about that approach?

@sanish-bruno

sanish-bruno commented Jan 30, 2025 •

Copy link
Copy Markdown
Collaborator Author

This looks really cool! Thank you a lot for the Screen Cast provided.

For me the toggling between text, editor and preview is a bit confusing. I would personally prefer to have three tabs instead of two modes to switch.

What do you think about that approach?

Initially thought about it, then landed on the toggle approach, wysiwyg is a visual editor, it didn't make sense to have a preview mode for wysiwyg, in order to segregate users who prefer wysiwyg or markdown, the toggle was introduced.

Another thing that was taken into consideration was vertical space, if we implement 3 tab view, tabs will take up some vertical space, additionally, the tool bar will also take up some space, pushing the editor down.

what are your thoughts on these?
@nikischin

@nikischin

Copy link
Copy Markdown
Contributor

Initially thought about it, then landed on the toggle approach, wysiwyg is a visual editor, it didn't make sense to have a preview mode for wysiwyg, in order to segregate users who prefer wysiwyg or markdown, the toggle was introduced.

Another thing that was taken into consideration was vertical space, if we implement 3 tab view, tabs will take up some vertical space, additionally, the tool bar will also take up some space, pushing the editor down.

what are your thoughts on these?

@nikischin

Well honestly, I thought about it quite a bit these days. And I did not really come to a conclusion. Your arguments are relatable and absolutely valid.

However, I noticed I cannot think of an application with all three modes. Either you have Markdown and Preview or WYSIWYG and a Raw View (e.g. Atlassian Jira) but usually never all three. Do you think we should keep all three modes? Especially, if the editor has a accurate representation of the preview mode, what do we need the preview mode for? A pure read only mode does not make too much sense for me.

Also to make things even more complicated (sorry about that) I was thinking of implementing a improved Syntax highlighting in the markdown view and keep the preview without the WYSIWYG editor. This would be my personal preference but I would absolutely understand if this is not the way to go.

Choose whatever you think works best for Bruno, but with these considerations in mind it should be a good basis :) Thank you for all your efforts!

@helloanoop

Copy link
Copy Markdown
Contributor

Closing this PR as this is being worked upon in #8559

@nikischin If you have time, please checkout out latest implementation in PR - #8559 and share feedback

@helloanoop helloanoop closed this Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants