firebase/firepad — pull request #53 by shaggyone (2013-09-04 04:55:13+00:00)
Title: Added RichTextCodemirror methods for working with entity attributes

firepad.richTextCodeMirror_.setEntityAttribute('ent_class', 'pull-right') works well, when cursor is positioned either right after the image. or before it in case, when it's on the begining of the line.