Sha256: 207c23703bc4358ce09f71979c25aaf96d21a3bcb49906ac79102e9b1e84c839
Contents?: true
Size: 794 Bytes
Versions: 9
Compression:
Stored size: 794 Bytes
Contents
CKEDITOR.dialog.add 'drop_cap', (editor) -> # Must match the class name of the snippet title: 'A drop cap', minWidth: 200, minHeight: 100, contents: [ { id: 'drop_cap_id', # Just an html id, doesn't really matter what is here elements: [ { id: 'letter' type: 'text', label: 'Letter (required)', setup: (widget) -> this.setValue(widget.data.letter) commit: (widget) -> widget.setData('letter', this.getValue()) }, { id: 'html_class' type: 'text', label: 'Additional html classes (optional)', setup: (widget) -> this.setValue(widget.data.html_class) commit: (widget) -> widget.setData('html_class', this.getValue()) } ] } ]
Version data entries
9 entries across 9 versions & 1 rubygems