Skip to content

Commit

Permalink
updated wysihat
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Kreeftmeijer committed Nov 4, 2009
1 parent 9151853 commit 88c88eb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Binary file modified db/development.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion public/javascripts/wysihat_engine_pack.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,7 @@ Event.observe(window, 'load', function() {
var toolbar = new WysiHat.Toolbar(editor);
toolbars[i.id] = toolbar;

editor.inputFilter = function(text) {
return text.formatHTMLInput().sanitize({
tags: ['span', 'p', 'br', 'strong', 'em', 'a'],
attributes: ['id', 'href']
});
};

editor.observe("wysihat:paste", function(event) {
editor.observe("wysihat:paste", function(event) {
setTimeout(function() {
event.target.reload();
}, 1);
Expand Down

Large diffs are not rendered by default.

0 comments on commit 88c88eb

Please sign in to comment.