Skip to content

Instantly share code, notes, and snippets.

@davglass
Created June 5, 2012 17:32
Show Gist options
  • Save davglass/2876421 to your computer and use it in GitHub Desktop.
Save davglass/2876421 to your computer and use it in GitHub Desktop.
var editor = new Y.EditorBase({});
editor.on('nodeChange', function(e) {
if (Y.UA.chrome && e.commands && (e.commands.indent || e.commands.outdent)) {
var bq = inst.all('.webkit-indent-blockquote, blockquote');
if (bq.size()) {
bq.setStyle('margin', '');
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment