Poll: Choose your preferred editor for MyBB 1.9
You do not have permission to vote in this poll.
SCEditor
11.29%
7 11.29%
TinyMCE
16.13%
10 16.13%
Redactor
30.65%
19 30.65%
QuillJS
9.68%
6 9.68%
WysiBB
0%
0 0%
DVZ MinimalEditor
1.61%
1 1.61%
Homebrew/Custom Editor
27.42%
17 27.42%
Summernote
1.61%
1 1.61%
Froala
1.61%
1 1.61%
Total 62 vote(s) 100%
* You voted for this item. [Show Results]

Editor Discussion
#91
I ran something similar on my machine and it takes roughly 1 ms for the first parsing+rendering then about 100 µs for each subsequent parsing+rendering. If you're looking for sub-millisecond processing, the library is designed to separate parsing from rendering in order to persist a pre-parsed representation of the text to the database and only render it dynamically. It's a trade-off that makes it possible to render a text in a tenth of the time it would take to parse while being able to use dynamic templates.
Reply
#92
I voted for Homebrew/Custom Editor.

The editor in 1.6 worked well, it was built for MyBB it just needed some updating. I think it would be nice to have it as a option since it has a much better history then the current one.

I also want to see what Euan T can come up with. Anything designed to by the MyBB Team should in theory work better with the software then a 3rd party software.
High Quality Web Hosting from HostKoi Web Services, LLC
Reply
#93
(2019-06-12, 08:16 PM)JoshyPHP Wrote: I ran something similar on my machine and it takes roughly 1 ms for the first parsing+rendering then about 100 µs for each subsequent parsing+rendering. If you're looking for sub-millisecond processing, the library is designed to separate parsing from rendering in order to persist a pre-parsed representation of the text to the database and only render it dynamically. It's a trade-off that makes it possible to render a text in a tenth of the time it would take to parse while being able to use dynamic templates.
How did you carry out these tests?

Do you have these benchmarks up somewhere like Github?

What datasets did you try it on? It might run "fast" on a short post, but choke on large ones.

What type of processor did you run it on?
Reply
#94
I don't remember, I must have run the benchmark script from this dir.

My main point is that the first run of the parser will be much slower than the subsequent runs, due to loading files and initializing data structures.

As far as short vs large posts goes, the performance should scale more or less linearly with the amount of markup to parse/render.
Reply
#95
I added modified Yui Editor (https://community.mybb.com/mods.php?action=view&pid=554) to @Euan T’s Homebrew/Custom Editor.

I hope it gets a little clearer the proposal of the Homebrew/Custom Editor option.

https://martec.github.io/mybb_text_edito...index.html
Reply
#96
Just an idea now this poll has been active for a bit, maybe you want to start a new one using the top 3 so others can provide a second preference and clarify which choice is preferred based on the type of editor on offer

We actually now have 3 distinct options for members to vote on

> Redactor - Paid, Maintained by 3rd Pary
> Homebrew/Custom Editor - Free, Maintained by MyBB Community
> TinyMCE - Free, Maintained by 3rd Pary
Reply
#97
(2019-06-22, 05:54 AM)martec Wrote: I hope it gets a little clearer the proposal of the Homebrew/Custom Editor option.

https://martec.github.io/mybb_text_edito...index.html


Very good.
Reply
#98
(2019-06-22, 11:34 AM)NotAdmin Wrote: Just an idea now this poll has been active for a bit, maybe you want to start a new one using the top 3 so others can provide a second preference and clarify which choice is preferred based on the type of editor on offer

We actually now have 3 distinct options for members to vote on

> Redactor - Paid, Maintained by 3rd Pary
> Homebrew/Custom Editor -  Free, Maintained by MyBB Community
> TinyMCE - Free, Maintained by 3rd Pary

I think the Homebrew option is still the best option. It's going to be designed from scratch to work with MyBB from the get go vs a 3rd party option being adapted to work with MyBB. The team will know the editor inside and out. The old editor used in 1.6 is a good example. It was custom made for MyBB, basic but worked well. Now I'm not saying go back to a basic editor but something like what martec posted seems to be a good option. It can also be expanded / improved based on demand. As for bugs it should be able to be fixed fast since it was built by them team.

With a 3rd party option the problem is you're at the mercy of them. If the project dies (like some of the editors listed in this thread) your stuck with having to look at different options or maintain code that wasn't produced the team. As for a commercial options if they decide to raise the prices for new versions you're stuck keeping an old version or coming up with the money to buy a new major version of an editor that will still need to be adapted to MyBB's needs.
High Quality Web Hosting from HostKoi Web Services, LLC
Reply
#99
Does no one else enjoy Summer note? I think it feels as close as Redactor. I'd love to see Redactor though.
Reply
IIRC, Summernote doesn't support BBCode out of the box. It has an unmerged PR to support markdown though...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)