jkoudys / janeswalk-web

Public website for Jane's Walk
MIT License
7 stars 5 forks source link

Replace wysihtml5 #19

Closed jkoudys closed 9 years ago

jkoudys commented 10 years ago

Wysihtml5's okay, but since moving to fontawesome4, none of its icons match, and the lib's last release was 0.3.0 (which we've been on for over a year) and the last update in their github repo was nearly 2 years ago, so I don't expect it to be updated soon. It's also occasionally getting confused by the HTML it has loaded, hitting an exception and losing the formatting.

tinyMCE is used extensively by concrete5, and there's a built-in helper for making a 'textarea' attribute edit field that uses tinymce, so this could be a good substitution. Drop the 'main.js' code for applying the wysihtml5 to the textarea and just use what c5 builds, then style that to match the old layout.

jkoudys commented 9 years ago

Built this into a React component. tinyMCE's not as good, but it's less to download since we already rely on it because of concrete5.