tinymce editor
This commit is contained in:
parent
6ddb7c49e6
commit
9cffe191ac
655 changed files with 16255 additions and 22045 deletions
32
www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/readme.txt
vendored
Executable file
32
www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/readme.txt
vendored
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
InsertDateTime plugin for TinyMCE
|
||||
-----------------------------------
|
||||
|
||||
Installation instructions:
|
||||
* Copy the insertdatetime directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
|
||||
* Add plugin to TinyMCE plugin option list example: plugins : "insertdatetime".
|
||||
* Add the insertdate or inserttime button name to button list, example: theme_advanced_buttons3_add : "insertdate,inserttime".
|
||||
|
||||
Initialization example:
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "insertdatetime",
|
||||
theme_advanced_buttons3_add : "insertdate,inserttime",
|
||||
plugin_insertdate_dateFormat : "%Y-%m-%d",
|
||||
plugin_insertdate_timeFormat : "%H:%M:%S"
|
||||
});
|
||||
|
||||
Configuration:
|
||||
plugin_insertdate_dateFormat - Format that the date is output as. Defaults to: "%Y-%m-%d".
|
||||
Replacement variables:
|
||||
%y - year as a decimal number without a century (range 00 to 99)
|
||||
%Y - year as a decimal number including the century
|
||||
%d - day of the month as a decimal number (range 01 to 31)
|
||||
%m - month as a decimal number (range 01 to 12)
|
||||
%D - same as %m/%d/%y
|
||||
%H - hour as a decimal number using a 24-hour clock (range 00 to 23)
|
||||
%M - minute as a decimal number (range 00-59)
|
||||
%S - second as a decimal number (range 00-59)
|
||||
%% - a literal `%' character
|
||||
|
||||
plugin_insertdate_timeFormat - Format that the time is output as. Defaults to: "%H:%M:%S".
|
||||
Loading…
Add table
Add a link
Reference in a new issue