Tutorial :
The issue at hand is not specifically with the colorPicker
but rather with the wysiwyg
module itself, as indicated in its code comments:
Requires: Twitter-bootstrap, fontawesome, jquery, angularjs, bootstrap-color-picker
However, it appears that the module only uses jQuery for bootstrap and tooltip functionalities...
My solution involved:
- Swapping out the original bootstrap for UI Bootstrap designed for AngularJS
- Incorporating the ngSanitize module to allow HTML sanitization
- Customizing the
wysiwyg
module to utilize the uib-tooltip
directive instead
- Developing a new directive for the
contenteditable
div
- Source Plunker
Hopefully, this proves helpful. ;-)