bpocallaghan / laravel-admin-starter

A Laravel Admin Starter project with Page Builder, Roles, Impersonation, Analytics, Blog, News, Banners, FAQ, Testimonials and more
http://bpocallaghan.co.za
341 stars 92 forks source link

Suggestion: Change Summernote for Toast.io #19

Closed jasonmccuen closed 2 years ago

jasonmccuen commented 6 years ago

I've used Summernote a bit now, and I am not impressed for a few reasons:

I've had a look for a replacement and found
Toast.io, and it looks as if it does all the things Summernote does, only it uses markdown instead of a html code editor.

I think that the majority of use-cases, WYSIWYG with Markdown would be better than WYSIWYG with HTML.

It looks like it would pretty much be a drop-in replacement from what I can see. I'm not sure if there are any specific features in Summernote that makes it better.

xewl commented 6 years ago

I'd rather see this pass as an alternative field type. The content type this field then creates is different, and you might need to know how to exactly parse its content when outputting. (HTML vs markdown) Maybe GrahamCampbell/Laravel-Markdown could do some lifting for the output of those fields itself.

Regarding HTML, if you really want an alternative to Summernote, I'm totally down with CKEditor.

jasonmccuen commented 6 years ago

I'm happy with any solution that is not Summernote, as long as I can use relative links.

The deal-breaker for me with Summernote is that I cannot use relative links. These are much more important to me than markdown. I can always add in the markdown parser how I like anyways - and I'm already using GrahamCampbell/Laravel-Markdown for that purpose.

My suggestion for markdown is because

My normal workflow is to get content from writers and edit it at the same time I convert it into markdown (headings, tables, ol, ul etc). Currently I do this in VS Code which outputs to a HTML, so it is just a small added step for me to copy it across. No biggie. 👍