Simple non WYSIWYG editor for Lokka.
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/lokka
public/admin/js
views
README.md

README.md

Simple Editor for Lokka

まちださんが Help me, hackers! に上げていた問題に次のものがあります。 Lokkaのエディタをいけてるやつに - Help me, hackers!

まちださんからの要望をとりいれ、今の WYSIWYG エディタを置換し、タグをそのまま見せる、できるだけシンプルなエディタを目指します。

How To Use

  • Install

      $ cd LOKKA_ROOT/public/plugin
      $ git clone git://github.com/tomykaira/lokka-simple-editor.git
    
  • Link from layout.html Edit LOKKA_ROOT/public/admin/layout.haml and replace

      %script(src="/admin/js/editor.js" type="text/javascript")
    

(l.22) with

%script(src="/admin/js/jquery.selection-min.js" type="text/javascript")
%script(src="/admin/js/simple_editor.js" type="text/javascript")
  • (Optional) This plugin does not use CLEditor, therefore you can remove jquery.cleditor.min.js