<textarea id="editor1">
    <div data-expandedcolor="#333" data-compactcolor="#444" data-minimalcolor="#555">Click Me</div>
    <div>No color data in me</div>
    <div>Another div</div>
</textarea>

<script>
    if ( bender.tools.env.mobile ) {
        bender.ignore();
    } else {
        CKEDITOR.replace( 'editor1', {
            colorInputLayout: 'minimal',
            allowedContent: true,
            on: {
                pluginsLoaded: function(evt) {
                    this.addCommand( 'testDialog',