     isHTML            : ->
                             if lhha() == 'text' then true
                             else checkbox.is(':checked')
-    showEditControl   : ->
+    startEdit         : ->
                             textfield.hide()
                             checkbox.hide()
                             tinymceObject?.hide()

                                setTinyMCEWidth()
                                initTinyMCE()
                                afterTinyMCEInitialized ->
                                    tinymceObject.show()
                                    tinymceObject.focus()
                            else
                                textfield.show()
                                checkbox.show()

# Show editor on click on label
Builder.resourceEditorStartEdit = () ->

        if tinymceObject.initialized then f()
        else tinymceObject.onPostRender.add(f)

    makeSpaceForMCE = ->
        mceHeight = $(tinymceObject.container).height()
        Builder.resourceEditorCurrentLabelHint.height(mceHeight)

    # Function to initialize the TinyMCE, memoized so it runs at most once
    initTinyMCE = _.memoize ->
        tinymceAnchor.show()
        tinymceAnchor.attr('id', _.uniqueId())

        # Auto-size MCE height based on the content, with min height of 100px
        mceConfig = _.clone(YAHOO.xbl.fr.Tinymce.DefaultConfig)
        mceConfig.plugins += ',autoresize'
        mceConfig.autoresize_min_height = 100

        tinymceObject = new window.tinymce.Editor(tinymceAnchor.attr('id'), mceConfig)
        tinymceObject.render()
        afterTinyMCEInitialized ->
            # We don't need the anchor anymore; just used to tell TinyMCE where to go in the DOM
            tinymceAnchor.detach()
            $(tinymceObject.getWin()).on('resize', makeSpaceForMCE)


    # Set width of TinyMCE to the width of the container
    # - If not yet initialized, set width on anchor, which is copied by TinyMCE to table
