Try attribute-driven editor directive.