WYSIWYG Editor Plugin

This is work in progress, please give me some thought. :smile: :muscle:

Intriguing! Are you planning to eventually open source your work?

I would love to do so.

Awesome. Please update us here when you do. I’m very curious to find out what libraries you’re building this on top of. I always thought Prosemirror would be a good foundation for WYSIWYG in Discourse, since it is also using @vitaly’s excellent markdown-it library.

Also, are you doing this as a personal project (i.e. for the fun and challenge of it, and scratching an itch) or is this work being sponsored in some way? I ask because within the Meta community there’s huge interest in rich editing, so there are a couple different avenues we could explore to support this work.

This is kind of personal project, I am in the middle of converting my own forum into discourse, but Markdown would be big obstacle for my users, that’s why I have been doing this (on spare time).
This editor intents to be compatible with Discourse, I am challenging with quotes and Markdown, so far so good. :muscle:

Hi folks, should we allow editing text inside quote? it is currently allowed to do so.

I do this regularly. Sometimes to fix a typo, sometimes to add emphasis. Sometimes to add ellipses when removing parts of the quote for brevity.

So, it’s nice to have. But I don’t think it’s must have if you’re looking for ways to cut scope and get an initial release out sooner.

Alright, have that done. I am making way to insert text before and after quote blocks.

If you want more feedback, we can set you up with a public demo instance on Digital Ocean. There’s going to be a whole bunch of people around here eager to try it out. You can send me a PM about it.

This is what would happen when quoting more while the cursor (of the editor) is inside another quote.

Things done recently:

  • Copying / pasting rich text.
  • Quote editing.
  • Adding/Removing link.
  • Rich text to markdown conversion to save to the database.

any updates to this?

I know there have been discussions, I still think a WYSIWYG editor would make it easier for the nontechies.

Did you run out of steam? Or why are there no updates lately? I checked the video and it looked pretty good.

I am afraid that here there is an enormous chasm between “pretty good” and “good enough”. There are lots and lots of edge cases that make this such a hard problem, our editor is super rich.

Overall, we find that many non-tech communities get used to the current editor and almost never complain about it.

Здравствуйте,
Я поддерживаю WYSIWYG-редактор для будущих версий форума Discourse.
Это значительно упростит редактирование и позволит эффективнее использовать размер экрана.

Есть какие-то новости о том, что здесь произошло? Видео демонстрирует работающую и отличную функцию. Репозиторий находится здесь: GitHub - quangbuule/Discourse-BEditor: Replacing Discourse Editor (d-editor) to Better Editor with WYSIWYG feature. · GitHub

Я также с радостью включу режим WYSIWYG для нашего нетехнического сообщества и сообщества управления проектами. Включение этого режима в последнем позволит подключить команду клиента и дать ей возможность участвовать в обсуждениях.

В данный момент я работаю над плагином визуального редактора. Пожалуйста, ознакомьтесь с деталями в этой теме:

Вы также можете писать тестовые посты на

http://cidian.social

хотя эта ссылка может измениться или перестать работать позже (это мой личный сервер разработки до запуска моего сайта).

Он уже работает довольно хорошо, но некоторые расширения Markdown в Discourse пока видны только в предпросмотре, пока я не перейду к постам в формате HTML. Но я полагаю, что для новичков это не проблема, так как они всё равно не будут использовать эти функции.

Discourse теперь включает экспериментальный WYSIWYG-редактор :confetti_ball: