Sha256: 9bc9a90c45852aee9696d9ea44f70c98d1a24a9c4ae7064f594651dbc8763740
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
(function() { var RichEditor = function() { this.show = function() { renderEditors(findTextAreas()); }; var findTextAreas = function() { return $("textarea[data-rich-editor='true']") }; var renderEditors = function($inputFields) { $inputFields.each(function(index, inputField) { CKEDITOR.replace(inputField.getAttribute("id")); }); }; }; $(document).ready(function() { new RichEditor().show() }); })();
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attorney-1.0.0 | app/assets/javascripts/attorney/rich_editor.js |