1. 16 Oct, 2017 1 commit
    • Jérome Perrin's avatar
      Enable codemirror diff view for web pages · f5060164
      Jérome Perrin authored
      ERP5's Code mirror supports viewing history of editions using codemirror's merge mode ( http://codemirror.net/demo/merge.html ).
      
      This was enabled for portal_components, but not for web pages.
      
      This moves the methods used by the components in a mixin class and make `TextDocument` class use this mixin.
      
      This way, we can benefit from diff view on web pages as well:
      
      ![ERP5-history-on-web-pages](/uploads/2bd381948266da46225ae26fd807bd51/ERP5-history-on-web-pages.png)
      
      @romain @vincentB @katomaso unless this interfere with your work of making codemirror works in renderjs ui, I think we can enable this. It does not include any change to codemirror code, just enable everywhere what was available only on components.
      
      @klaus I did not check, but we probably want this enabled for PyData Script as well.
      
      /reviewed-on !449
      f5060164
  2. 13 Oct, 2017 14 commits
  3. 12 Oct, 2017 10 commits
  4. 10 Oct, 2017 14 commits
  5. 09 Oct, 2017 1 commit