Add empty paint_picker div. Also add defs to the whitelist
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@325 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -8,6 +8,7 @@ if(!window.console) {
|
||||
// this defines which elements and attributes that we support
|
||||
var svgWhiteList = {
|
||||
"circle": ["cx", "cy", "fill", "fill-opacity", "id", "stroke", "r", "stroke-opacity", "stroke-width", "stroke-dasharray"],
|
||||
"defs": [],
|
||||
"ellipse": ["cx", "cy", "fill", "fill-opacity", "id", "stroke", "rx", "ry", "stroke-opacity", "stroke-width", "stroke-dasharray"],
|
||||
"line": ["fill", "fill-opacity", "id", "stroke", "stroke-opacity", "stroke-width", "stroke-dasharray", "x1", "x2", "y1", "y2"],
|
||||
"path": ["d", "fill", "fill-opacity", "id", "stroke", "stroke-opacity", "stroke-width", "stroke-dasharray"],
|
||||
|
||||
Reference in New Issue
Block a user