bootstrap-wysihtml5
bootstrap-wysihtml5 copied to clipboard
"color": true, but the color does not apply
Hello, I have an issue with the "color": true property. After calling :
$('#test').wysihtml5({ "font-styles": true, //Font styling, e.g. h1, h2, etc. Default true "emphasis": true, //Italics, bold, etc. Default true "lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true "html": false, //Button which allows you to edit the generated HTML. Default false "link": false, //Button to insert a link. Default true "image": false, //Button to insert an image. Default true, "color": true //Button to change color of font
});
I can see the color button there, but when I select a text and select a color, the text does not change color.
Do you have any idea please ?
Thank you
Hello,
I have the same issue. Any idea?
Thank you!
Hey @togoenvogue and @julioElpabo did either of you ever figure this out? I am having the same issue.
Unfortunately not, still couldnt get a solution.
2013/7/19 ARH3 [email protected]
Hey @togoenvogue https://github.com/togoenvogue and @julioElpabohttps://github.com/julioElpabodid either of you ever figure this out? I am having the same issue.
— Reply to this email directly or view it on GitHubhttps://github.com/jhollingworth/bootstrap-wysihtml5/issues/248#issuecomment-21273798 .
JOHN KOMLA Directeur Général ====== * * * ======= TOGO EN VOGUE Développement de sites et applications web Hébergement Linux et Windows Développement des solutions Web SMS Formation pratique et coaching en Dreamweaver, Fireworks, xHTML, PHP-MySQL, JAVA, CSS, C#.NET ====== * * * ======= 90, bvd du 30 Aout A coté de la pharmacie Béthel, Adidogomé BP : 81 355, Lomé-Togo Bureau : (00228) 22 39 48 99 Mobiles (00228) 98 77 97 34 / 90 19 95 22 Skype : togoenvogue Plateforme du web SMS : www.letavi.mobi Nos services : www.togoenvogue.net Portail d'information : www.togoenvogue.com Économie de carburant : www.ecarburant.com Email : [email protected] Skype : togoenvogue
Okay I figured it out @togoenvogue... at least for me. If you look at line 453 of bootstrap-wysihtml5 / src / bootstrap-wysihtml5.js it says this:
stylesheets: ["./lib/css/wysiwyg-color.css"], // (path_to_project/lib/css/wysiwyg-color.css)You need to direct that to the css file located in /lib/css/wysiwyg-color.css. IMO this is awful practice to have this one random css file with some random classes by itself, so what I did was copy/paste that entire file into the bottom of bootstrap-wysihtml5 / src / bootstrap-wysihtml5.css and then point like 453 to that file. This way I have 1 new css file instead of 2.
When it's all said and done, I only copied 2 files from this repo into my app:
- bootstrap-wysihtml5 / src / bootstrap-wysihtml5.js
- bootstrap-wysihtml5 / src / bootstrap-wysihtml5.css (with appended with extra classes from /lib/css/wysiwyg-color.css
Thank your ARH3. This was seriously helpful, could have not solved it alone. Thank you once again !!!
2013/7/20 ARH3 [email protected]
Okay I figured it out @togoenvogue https://github.com/togoenvogue... at least for me. If you look at line 453 of bootstrap-wysihtml5 / src / bootstrap-wysihtml5.js it says this:
stylesheets: ["./lib/css/wysiwyg-color.css"], // (path_to_project/lib/css/wysiwyg-color.css)
You need to direct that to the css file located in * /lib/css/wysiwyg-color.css_. IMO this is awful practice to have this one random css file with some random classes by itself, so what I did was copy/paste that entire file into the bottom of *bootstrap-wysihtml5 / src / bootstrap-wysihtml5.css_ and then point like 453 to that file. This way I have 1 new css file instead of 2.
When it's all said and done, I only copied 2 files from this repo into my app:
- bootstrap-wysihtml5 / src / bootstrap-wysihtml5.js
- bootstrap-wysihtml5 / src / bootstrap-wysihtml5.css * (with appended with extra classes from /lib/css/wysiwyg-color.css*
— Reply to this email directly or view it on GitHubhttps://github.com/jhollingworth/bootstrap-wysihtml5/issues/248#issuecomment-21285322 .
JOHN KOMLA Directeur Général ====== * * * ======= TOGO EN VOGUE Développement de sites et applications web Hébergement Linux et Windows Développement des solutions Web SMS Formation pratique et coaching en Dreamweaver, Fireworks, xHTML, PHP-MySQL, JAVA, CSS, C#.NET ====== * * * ======= 90, bvd du 30 Aout A coté de la pharmacie Béthel, Adidogomé BP : 81 355, Lomé-Togo Bureau : (00228) 22 39 48 99 Mobiles (00228) 98 77 97 34 / 90 19 95 22 Skype : togoenvogue Plateforme du web SMS : www.letavi.mobi Nos services : www.togoenvogue.net Portail d'information : www.togoenvogue.com Économie de carburant : www.ecarburant.com Email : [email protected] Skype : togoenvogue
Thanks @ARH3 .