applied my changes - initial import
[boxroom-stian.git] / public / javascripts / tiny_mce / plugins / codeblock / readme.txt
blob6514aa501f65f0cf37d34c33cd2ec61de59c2bc7
1 Blockquote Plugin\r
2 ============================================================\r
3 \r
4 This adds a blockquote button to tinyMCE.\r
5 Developed by Bit Santos <bit@bitdesigns.net>\r
6 \r
7 Instead of using the indent/outdent buttons to insert\r
8 content into blockquote tags, IMHO, it's a much better idea\r
9 to have a dedicated button for it.\r
11 Click it once, and it adds the selected block/s of content\r
12 into a blockquote tag. Click it again and the selected\r
13 block/s are removed from the blockquote tag.\r
17 Version History\r
18 ------------------------------------------------------------\r
20 0.2\r
21     - Can apply blockquote tags to multiple block-level\r
22       elements.\r
23     - Will apply the paragraph tag when the blockquote tag\r
24       is removed and the remaining content doesn't have a\r
25       parent block-level element.\r
26     - Much better support for nested tags.\r
28 0.1 (not released)\r
29     - Apply blockquote tags to content, one block-level\r
30       element at a time.\r
31     - Could not properly handle content nested tags, including\r
32       lists.\r
33       \r
34       \r
35       \r
36 Plugin-specific Parameters\r
37 ------------------------------------------------------------\r
39 blockquote_clear_tag :\r
40     (optional) the HTML tag to be applied when the\r
41     blockquote tag is removed and the remaining content does\r
42     not have a block-level parent. Defaults to 'p'.\r
46 Installation\r
47 ------------------------------------------------------------\r
49 1. Copy the blockquote directory to the tinyMCE plugins\r
50    directory.\r
51 2. Add 'blockquote' to the plugin list.\r
52 3. Add 'blockquote' to the button list.\r
54       \r
55       \r
56 Sample initialization\r
57 ------------------------------------------------------------\r
59 tinyMCE.init({\r
60     theme : "advanced",\r
61     mode : "textareas",\r
62     plugins : "blockquote",\r
63     blockquote_clear_tag : "p",\r
64     theme_advanced_buttons1_add : "blockquote",\r
65 });\r