Sha256: 7d4b1fb874edf61f169d0fc31f8baf552e08e94e7d563cc08fdffa01e7d26733

Contents?: true

Size: 424 Bytes

Versions: 38

Compression:

Stored size: 424 Bytes

Contents

#
# draft.rb: save draft data to Web Storage automatically
#
# Copyright (c) MATSUOKA Kohei <http://www.machu.jp/>
# Distributed under the GPL2 or any later version.
#
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

38 entries across 28 versions & 1 rubygems

Version Path
tdiary-5.3.0 misc/plugin/draft.rb
tdiary-5.2.4 misc/plugin/draft.rb
tdiary-5.2.3 misc/plugin/draft.rb
tdiary-5.2.2 misc/plugin/draft.rb
tdiary-5.2.1 misc/plugin/draft.rb
tdiary-5.2.0 misc/plugin/draft.rb
tdiary-5.1.7 misc/plugin/draft.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/misc/plugin/draft.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/misc/plugin/draft.rb
tdiary-5.1.6 misc/plugin/draft.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/misc/plugin/draft.rb
tdiary-5.1.5 misc/plugin/draft.rb
tdiary-5.1.4 misc/plugin/draft.rb
tdiary-5.1.3 misc/plugin/draft.rb
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/misc/plugin/draft.rb
tdiary-5.1.2 misc/plugin/draft.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/tdiary-5.0.14/misc/plugin/draft.rb
tdiary-5.1.1 misc/plugin/draft.rb
tdiary-5.1.0 misc/plugin/draft.rb
tdiary-5.0.14 misc/plugin/draft.rb