bootstrap-wysihtml5 icon indicating copy to clipboard operation
bootstrap-wysihtml5 copied to clipboard

wysiwyg-color.css not found error

Open Enalmada opened this issue 12 years ago • 12 comments

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

Enalmada avatar Dec 17 '12 00:12 Enalmada

Try adding this to your config options:

"stylesheets": false

damonjentree avatar Dec 21 '12 16:12 damonjentree

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.

jhrabows avatar Jan 03 '13 18:01 jhrabows

"stylesheets": false is NOT valid false

You'll need "stylesheets": empty array

brainbaking avatar May 16 '13 11:05 brainbaking

To expand on @wgroeneveld, you need the following option:

"stylesheets": [] //CSS stylesheets to load

This also fixes mime type issues in Internet Explorer.

DPSever avatar Oct 30 '13 18:10 DPSever

The path to the referenced file is wrong. It seems to be relative to the current url, not to the website's root.

CaptainQuirk avatar Apr 18 '14 13:04 CaptainQuirk

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?

flyersun avatar May 15 '14 11:05 flyersun

Seems to work for me this fix. There isn't a file like that on my whole disk. Do we need it ?

gplv2 avatar Aug 03 '14 23:08 gplv2

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

sumit-sharma avatar Jan 19 '15 07:01 sumit-sharma

In IE (internet explorer) not work color button

  1. Select text
  2. Click on select color dropdown 2.1. In Chrome text selection stay on 2.2. In IE text selection clear
  3. On select color 3.1. Chrome - color changed 3.1. IE - color unchanged

I think problem in selection clear.

AlexandrM avatar Jan 28 '15 07:01 AlexandrM

@CaptainQuirk Current wysihtml5 v0.3.0 line 5506, an slash is missed. You can however add it: html += '<link rel="stylesheet" href="/' + stylesheets[i] + '">';

churiart avatar Feb 22 '16 23:02 churiart

open bootstrap-wysihtml5.js,[ find stylesheets: and edit the URL of wysiwyg-color.css.

farabf33 avatar Jul 11 '16 09:07 farabf33

Try adding this to your config options:

"stylesheets": '../css/wysiwyg-color.css'

try to set the css location, it works for me.

nalonsor avatar Sep 23 '16 16:09 nalonsor