# todo: # context for the toolbar buttons and groups needs to change so we can do the following: # how to handle context for buttons? if the cursor is within a bold area (**bo|ld**), or selecting it -- it would be # nice if we could activate the bold button for instance. class @Mercury.Regions.Markupable extends Mercury.Region type = 'markupable' constructor: (@element, @window, @options = {}) -> @type = 'markupable' super @converter = new Showdown.converter() build: -> width = '100%' height = @element.height() value = @element.html().replace(/^\s+|\s+$/g, '').replace('>', '>') @textarea = jQuery('