Sha256: 3c53c8f7375fc0acfdadc8cf1b0ef53388c9c2e52a6f4c258559dd9f21ac3eeb
Contents?: true
Size: 426 Bytes
Versions: 22
Compression:
Stored size: 426 Bytes
Contents
# -*- coding: utf-8; -*- # # draft.rb: save draft data to Web Storage automatically # # Copyright (c) MATSUOKA Kohei <http://www.machu.jp/> # Distributed under the GPL # if /\A(form|edit|preview|showcomment)\z/ === @mode then enable_js('draft.js') end add_edit_proc do <<-EOS <div class="draft"> 下書き: <select name="drafts"></select> <button type="button" id="draft_load">読み込み</button> </div> EOS end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
tdiary-3.2.2.20130508 | misc/plugin/draft.rb |
tdiary-3.2.2.20130507 | misc/plugin/draft.rb |