marjinal1st / medium-editor-rails

This project is not maintained anymore. If you'd like to maintain, I can transfer ownership. Contact me at marjinalist1@gmail.com
MIT License
120 stars 35 forks source link

use medium-editor with a form #1

Closed joseramonc closed 9 years ago

joseramonc commented 10 years ago

How do I use this with a form. Is there a predefined method?, or the best approach is with jQuery?

marjinal1st commented 10 years ago

Unfortunately, Medium Editor doesn't support turning elements (except DIVs) to an editor directly. You need to use at least a DIV with a form element and synchronize them with jQuery.

Check this out: http://lab2023.com/using-medium-editor-as-input-field-in-rails.html