-
Notifications
You must be signed in to change notification settings - Fork 8
Change Markdown editor to WYSIWYG editor #204
Comments
Yes, I think it is also worth debating if making the editor configurable would also be an option. In which the markdown exists as the default and WYSIWYG is an optional. Not sure how feasible this is (reading the code in the coming days!) |
This is the answer to the last post by @robertknight in the issue #1478
We as the WorldBrain team. Over the last 7 months I have been conducting around 40 user interviews with skeptics, scientists, journalists and students.
@lwm top! all right. Looking forward to your feedback |
Chiming in to say that I disagree with @robertknight that whatever is used must be able to be converted to markdown. Another path to consider is one where the annotation body gains a content type and a migration declares markdown for all existing bodies. Such a change would make the body an object rather than just a text property, too, which accords better with the web annotation data model. |
+1 I remember part of the reason we didn't choose a WYSIWYG editor at the time was that no one was really happy with TinyMCE or what was out at the time. After playing around with https://github.com/mindmup/bootstrap-wysiwyg/ for a bit, it seems very promising. |
Here's a list: https://github.com/iDoRecall/comparisons/blob/master/JavaScript-WYSIWYG-editors.md The two that stick out to me for are: I like them because:
Scribe may not work in IE. It's not tested. It's not known to work. It may work with Rangy from what I see. |
Thanks @tilgovi for joining in :) Sooo after... ...I found out the following Medium EditorThe medium editor looks pretty awesome. For everybody to test: http://yabwe.github.io/medium-editor/ ScribeHere the picture upload is not possible, as far as the demo allows it. For everybody to test: http://guardian.github.io/scribe/ MindMup WysiwygDownside I see here is that it not really well maintained. Last commit was in April 2015. Independent from what we find out to be the best option, there might be some extra chance with MindMup. SummernoteWas the first place of the list of editors to use.
Downside:
For everybody to test: http://summernote.org/ Summing up:Disclaimer: I am just starting with Python and have only superficial knowledge about many technical aspects. So please forgive me, if I am missing out on perspectives. I am eager to learn though :)
|
@tilgovi - Thanks. These criteria are all important for me as well. Additional criteria I would add are:
@oliversauter - I'm afraid you can't just take the quoted size on the homepage at face value. In the case of Summernote for example, it has a dependency on jQuery and Bootstrap. Add in the CSS and the minified size comes to >350KB. Gzipped that's ~100KB, which translates to at an extra 2-4 seconds load time on mobile. MediumEditor looks promising after a brief initial look, except for the absence of mobile support. I'm inclined to suggest that overriding the browser's default selection toolbar is not a good idea (though extending the native toolbar would be nice if there was an API for that), so we'd need to present the UI some other way. |
thanks for your input.
How much in size is the current editor?
They are already working on a lite version without bootstrap.
|
Also likely worth looking at the editor Wikimedia developed: On Thu, Mar 17, 2016, 01:56 Oliver Sauter [email protected] wrote:
|
Features:Woah! This editor has a whole lot of features. Too many to list and maybe even too many for our use cases? https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide Size:I havent found any number of the size of the editor. But when downloaded, VE has a size of 2,4mb (summernote: 545kb) |
About 10KB gzipped for the markdown renderer plus the editor implementation.
I'm afraid that means there is a big gap between the current state and finished. Finished means that the code has been reviewed, sufficiently tested and released. That's usually a fair amount of work. I think this discussion is focusing too much on implementation details though. Putting together a minimal working prototype with just the essential WYSIWYG functionality that could be trialed in different contexts might be a useful thing to do. Please be aware though that whilst prototypes are very valuable, there is usually a significant gap between the kind of code that is fine in a prototype and a polished implementation that we could consider shipping to users. |
Ok, I would suggest we leave this one at this point.
Yes sure, careless choice of words. What I essentially wanted to express is that it is not like they have this issue lingering around, but people actually working on it and that it is in the process of being integrated. |
Hi there,
I continue the discussion of the closed pull request #1478 here as a new feature request.
Original Message
Hi there!
We are the WorldBrain Team, our goal is to develop a browser plugin, that allows it to see, if an article, blog post or video is trustworthy, based on how well it represents scientifically verifiable facts.
As a first step, we are working on a
bookwebmarking tool for skeptics, science journalists, scientists and STEM-students. (www.worldbrain.io)For this we want to fork hypothes.is, but contribute as much as possible to the hypothes.is core, so that everyone benefits from this solid foundation you built there in the last years.
Thank you so much for this. You didn't an unbelievably awesome job with it.
Looking forward collaborating with you 😄 🎉
COMING TO THE FEATURE
We are picking up this feature, because we see the value of having a slim WYSIWYG editor for the broader user base.
Many people are not really experienced in markdown and it is a new hurdle for users to conveniently use an often used software.
It is time consuming to get into this new habit, which many people are not familiar with.
Also there are other convenience problems in the current version when other files have to be somehow saved to commentary too - like charts or pictures.
We also found an alternative for the TINY MCE editor:
An open source project, licensed under MIT: https://mindmup.github.io/bootstrap-wysiwyg/
PERKS OF MINDMUP WYSIWYG
DOWNSIDES
QUESTIONS
SCREENSHOTS
WYSIWYG:
Normal:
File Upload:
Current Toolbar:
USER STORY:
Richard a skeptic and heavy web user and has massive amounts of text, files and pictures he processes every day. He needs a quick way to save up all necessary information like pictures.
The current editor doesn't allow him to easily add his own pictures, which he saved in his extensive offline folders and files or draws from the web to his commentary. Instead he would have to upload it to a separate service like imgur.com and then attach the link in the markdown language - for every picture or chart.
Richard also saves up his research (good links, titles, notes, images, files) into large wordfiles to consolidate it. If he is not able to do this with the comments of the annotations, there is important information only saveable with inconvenience(as explained in first story), so he might rather stay with his word files.
For hypothes.is and WorldBrain to be widely adopted, there should be a way to add more than just a link-based image to comments.
The text was updated successfully, but these errors were encountered: