public function editable($html, Content $content, $field)
    {
        $contentTypeName = $content->contenttype['slug'];

        $output = sprintf(
            '<div class="Bolt-editable" data-id="%s" data-contenttype="%s" data-field="%s">%s</div>',
            $content->id,
            $contentTypeName,
            $field,
            $html
        );

        return $output;
    }
public function editable($html, Content $content, $field)
    {
        $contentTypeName = $content->contenttype['slug'];

        $output = sprintf(
            '<div class="Bolt-editable" data-id="%s" data-contenttype="%s" data-field="%s">%s</div>',
            $content->id,
            $contentTypeName,
            $field,
            $html
        );

        return $output;
    }
public function editable ( $ html , Content $ content , $ field ) { $ contentTypeName = $ content -> contenttype [ 'slug' ] ; $ output = sprintf ( '<div class="Bolt-editable" data-id="%s" data-contenttype="%s" data-field="%s">%s</div>' , $ content -> id , $ contentTypeName , $ field , $ html ) ; return $ output ; }
Makes a piece of HTML editable.

@param string               $html    The HTML to be editable
@param \Bolt\Legacy\Content $content The actual content
@param string               $field

@return string
Makes a piece of HTML editable .