Continued from gist: Custom WYSIWYG plugin for Drupal 7 - accordion (https://gist.github.com/edit-olah/fb84ac7e4c571e98faab)
Mentor:
Chris Maiden - https://github.com/matason
Author:
Edit Olah - https://github.com/edit-olah
Aim: Users can click a button in the WYSIWYG editor’s toolbar and inject specific markup with clickable areas where they can input content.
Folder structure:
- d --| sites
- d ------| all
- d ----------| modules
- d --------------| custom
- d ------------------| custom_wysiwyg
- d ----------------------| plugins
- d ---------------------------| accordion
- d --------------------------------| icons
- -------------------------------------| accordion.png
- --------------------------------| plugin.js
- ---------------------------| accordion.inc
- d ---------------------------| accordionelement
- d --------------------------------| icons
- -------------------------------------| accordionelement.png
- --------------------------------| plugin.js
- ---------------------------| accordionelement.inc
- ----------------------| custom_wysiwyg.info
- ----------------------| custom_wysiwyg.module