Closed mm90849491 closed 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.
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