Is it possible to replace default text editor with a better one? #103
-
The default text editor is sufficient but hardly the best. How difficult/easy would it be to intrgrate something like EpicEditor (http://epiceditor.com) into Yellow ? |
Beta Was this translation helpful? Give feedback.
Replies: 17 comments
-
Good idea to add another text editor. Can you describe what features you are missing most? Maybe someone has suggestions or wants to write a plugin? Any help would be much appreciated. 😄 |
Beta Was this translation helpful? Give feedback.
-
I missing the ability to save drafts without publishing using the Drafts plugin. And simple formatting buttons/post preview. |
Beta Was this translation helpful? Give feedback.
-
Yes, I think it's good idea. I'd like to see ZenPen as editor. It so clear and simple! |
Beta Was this translation helpful? Give feedback.
-
HI - I use Markbar by reinink I made a repository on how to install in Yellow: It's very usefull |
Beta Was this translation helpful? Give feedback.
-
Wow! Look on this markdown editor. It very simple, have preview and can upload files. |
Beta Was this translation helpful? Give feedback.
-
Hey mardownify is really cool. But I don't know how to use it in Yellow, like many others editor. Markbar is the only one that works with panel edit from yellow. |
Beta Was this translation helpful? Give feedback.
-
If someone would like to see this feature, please add +1 to the top of this issue. |
Beta Was this translation helpful? Give feedback.
-
Markdonify looks really nice. I love the "preview" option and the smart presentation of markdown. But I miss a way for uploading images or files in general. The formatting bar is something I do not need, because for me this as an antagonism to markdown ;) |
Beta Was this translation helpful? Give feedback.
-
It could be nice if the webinterface plugin could be splitted (e.g. in 2 'user-admin' and 'simple-editor' plugins), so it could be easier to replace the editor with a custom one (e.g. I would like to use simplemde on a new custom plugin) without removing the current one. |
Beta Was this translation helpful? Give feedback.
-
Here some start points; the following plugins are currently non-working / broken / buggy so feel free to clone / modify / fix stuff / send pull requests:
Some issues with these plugins seems related to the fact that some interactions with the webinterface plugin are needed (e.g. for resize/refresh) to get updated in sync with the yellow-pane-edit-page textarea. |
Beta Was this translation helpful? Give feedback.
-
I am working on this now. You can see what's already working in the Yellow demo. There's a new editor with formatting toolbar. It's based on your feedback and I tried to integrate what features editors have in common. The formatting toolbar was difficult to do, it went trough many design reviews and cups of coffee, until it was no longer terrible to use. The preview feature was surprisingly little work, just a XMLHttpRequest and the server will run it trough the Markdown parser. I will upload the source code after some more testing. Let me know if you have questions or feedback. |
Beta Was this translation helpful? Give feedback.
-
Great work Mark! From a blind user's perspective I can say that this is one of the best online editing solutions I've seen so far. I never was a fan of WYSIWYG editors or formating toolbars as they often cause trouble for screenreaders, but your solution keeps the old editor working as usual, without breaking anything. It would be great to have some keyboard shortcuts for even easier text formating. As for the "Preview" button, I suggest to label it as "Toggle preview" for clarification and to avoid confusion after someone hits preview and is wondering how to return to the text input. Steffen |
Beta Was this translation helpful? Give feedback.
-
@markseu That was quick, thanks for adding keyboard shortcuts. The default shortcuts however are not usable in most browsers (ctrl+b opens bookmarks etc). I suggest to add an additional modifier key to the default values. Ctrl+alt should work in most cases, just tested this in two browsers without problems. |
Beta Was this translation helpful? Give feedback.
-
Doesn't GitHub use the same keyboard shortcuts, e.g. for ctrl+b (or cmd+b) for bold? |
Beta Was this translation helpful? Give feedback.
-
Hmm indeed. Thats interesting, Github's markdown shortcuts don't collide with the browser shortcuts, but I have no clue why this could happen in YellowEdit. Probably a nasty JS issue. |
Beta Was this translation helpful? Give feedback.
-
The new editor is available now. Here's what has been changed:
Thanks for all your feedback. Let me know how this works for you. |
Beta Was this translation helpful? Give feedback.
The new editor is available now.
Here's what has been changed: