bootstrap-wysihtml5
bootstrap-wysihtml5 copied to clipboard
wysiwyg-color.css not found error
This script is mentioned in the javascript but not in the overview instructions: ["./lib/css/wysiwyg-color.css"]
This causes browser error... "NetworkError: 404 Not Found - http://localhost:9000/.../lib/css/wysiwyg-color.css"
I assume the file should either be mentioned in the overview or removed from the js
Try adding this to your config options:
"stylesheets": false
This is a valid documentation issue. We need a sentence which explains that 'color' option requires additional css file which needs to be listed in "stylesheets" array.
"stylesheets": false is NOT valid

You'll need "stylesheets": empty array
To expand on @wgroeneveld, you need the following option:
"stylesheets": [] //CSS stylesheets to load
This also fixes mime type issues in Internet Explorer.
The path to the referenced file is wrong. It seems to be relative to the current url, not to the website's root.
I'm having the same issue. I need to change the live path for lib/css/wysiwyg-color.css, not sure how to do this?
Seems to work for me this fix. There isn't a file like that on my whole disk. Do we need it ?
Open bootstrap-wysihtml5.js Search "stylesheets: " on line no 453 change path wysiwyg-color.css if not available download from github It worked for me
In IE (internet explorer) not work color button
- Select text
- Click on select color dropdown 2.1. In Chrome text selection stay on 2.2. In IE text selection clear
- On select color 3.1. Chrome - color changed 3.1. IE - color unchanged
I think problem in selection clear.
@CaptainQuirk Current wysihtml5 v0.3.0 line 5506, an slash is missed. You can however add it:
html += '<link rel="stylesheet" href="/' + stylesheets[i] + '">';
open bootstrap-wysihtml5.js,[ find stylesheets: and edit the URL of wysiwyg-color.css.
Try adding this to your config options:
"stylesheets": '../css/wysiwyg-color.css'
try to set the css location, it works for me.