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-4.0.5.1 misc/plugin/draft.rb
tdiary-4.0.5 misc/plugin/draft.rb
tdiary-4.0.4 misc/plugin/draft.rb
tdiary-4.0.3 misc/plugin/draft.rb
tdiary-4.0.2.20140201 misc/plugin/draft.rb
tdiary-4.0.2 misc/plugin/draft.rb
tdiary-4.0.1.20131102 misc/plugin/draft.rb
tdiary-4.0.1.20130929 misc/plugin/draft.rb
tdiary-4.0.1.20130903 misc/plugin/draft.rb
tdiary-4.0.1 misc/plugin/draft.rb
tdiary-4.0.0.20130826 misc/plugin/draft.rb
tdiary-4.0.0 misc/plugin/draft.rb
tdiary-3.2.2.20130727 misc/plugin/draft.rb
tdiary-3.2.2.20130722 misc/plugin/draft.rb
tdiary-3.2.2.20130720 misc/plugin/draft.rb
tdiary-3.2.2.20130617 misc/plugin/draft.rb
tdiary-3.2.2.20130614 misc/plugin/draft.rb
tdiary-3.2.2.20130604 misc/plugin/draft.rb
tdiary-3.2.2.20130527 misc/plugin/draft.rb
tdiary-3.2.2.20130518 misc/plugin/draft.rb