Skip to content

Commit ddea7ec

Browse files
committed
Merge pull request jhollingworth#213 from glundgren/master
Changed parserRules to allow save and edit content with code tag hacks
2 parents 110dc34 + f2ba57f commit ddea7ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/bootstrap-wysihtml5.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,10 @@
436436
}
437437
},
438438
"span": 1,
439-
"div": 1
439+
"div": 1,
440+
// to allow save and edit files with code tag hacks
441+
"code": 1,
442+
"pre": 1
440443
}
441444
},
442445
stylesheets: ["./lib/css/wysiwyg-color.css"], // (path_to_project/lib/css/wysiwyg-color.css)

0 commit comments

Comments
 (0)