14 lines
321 B
CoffeeScript
14 lines
321 B
CoffeeScript
|
Locomotive.Views.EditableElements ||= {}
|
||
|
|
||
|
class Locomotive.Views.EditableElements.LongTextView extends Backbone.View
|
||
|
|
||
|
tagName: 'li'
|
||
|
|
||
|
className: 'text input html'
|
||
|
|
||
|
render: ->
|
||
|
$(@el).html(ich.editable_text_input(@model.toJSON()))
|
||
|
|
||
|
@$('textarea').tinymce window.Locomotive.tinyMCE.defaultSettings
|
||
|
|
||
|
return @
|