Opened 11 years ago
Last modified 9 years ago
#11994 review Bug
ASP.NET control ContentsCss doesn't correctly support Web application root operator (~)
| Reported by: | Andrew Koransky | Owned by: | Alan |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Server : ASP.Net | Version: | 3.6.6 |
| Keywords: | Cc: | Andrew Koransky |
Description
The ASP.NET control doesn't support the web application root (~) correctly in ContentsCss. For example, setting the property to "~/CSS/web.css,~/CSS/other.css" just doesn't work. In addition, documentation isn't terribly clear that this is a comma (or CR or LF) separated field. I also thought maybe a pipe "|" would work for a separator. (I had to download and examine code.)
I've attached a patch that resolves all the above issues. It's just a code snippet you can use to replace the property declaration.
Attachments (1)
Change History (4)
Changed 11 years ago by
| Attachment: | CKEditorControl-ContentsCssProperty.cs added |
|---|
comment:1 Changed 11 years ago by
| Owner: | set to Alan |
|---|---|
| Status: | new → review |
comment:2 Changed 9 years ago by
| Version: | 3.6.4 → 3.6.6 |
|---|
This problem still exists in the latest ASP.NET 3.6.6.2 code. I would be glad to submit a push request if this code were in GitHub.
comment:3 Changed 9 years ago by
| Cc: | Andrew Koransky added |
|---|

replacement code for CKEditor.NET.CKEditorControl.ContentsCss property