app/assets/javascripts/formagic/inputs/redactor_character.coffee in formagic-0.1.0 vs app/assets/javascripts/formagic/inputs/redactor_character.coffee in formagic-0.2.5
- old
+ new
@@ -41,23 +41,25 @@
return config
_get_default_config: () ->
- focus: false
- imageFloatMargin: '20px'
- buttonSource: true
- pastePlainText: true
- scrollTarget: chr.module.view.$content
- plugins: []
- buttons: [ 'html',
- 'formatting',
- 'bold',
- 'italic',
- 'deleted',
- 'unorderedlist',
- 'orderedlist',
- 'link' ]
+ focus: false
+ imageFloatMargin: '20px'
+ buttonSource: true
+ pastePlainText: true
+ replaceDivs: false
+ scrollTarget: chr.module.view.$content
+ plugins: [ 'table' ]
+ buttons: [ 'html'
+ 'formatting'
+ 'bold'
+ 'italic'
+ 'deleted'
+ 'unorderedlist'
+ 'orderedlist'
+ 'table'
+ 'link' ]
# to have caching working we need to trigger 'change' event for textarea
# when content got changed in redactor, but skip this when updating value
# via `updateValue` method
changeCallback: =>