mm90849491 / CoopR-S

pronounce: C R and S
0 stars 5 forks source link

[Priority: low]HTML editor #11

Closed mm90849491 closed 8 years ago

mm90849491 commented 8 years ago

The post content editor which provides some styling(bold, font family, colour, alignment, etc), like GitHub text editor. https://github.com/froala/wysiwyg-rails or any alternative

mm90849491 commented 8 years ago

Took me about 10 times hours as I planned to spend on this feature. Ultimately, WYMeditor, which is more blogger-ish editor, is chosen as it is pure JavaScript driven, super light weight compared to Mercury (which acquires countless css/js files in runtime, such insane). This feature is available in post edit/new page. Raw script will be displayed on post index page and parsed version will be displayed on each post show page. You might see a normal input box in the first attempt of edit/new page, this editor will appear after a refresh. I am not going to fix this glitch until other functionalities are done.