You are here

default.bueditor.txt in BUEditor 7

Same filename and directory in other branches
  1. 6.2 import/default.bueditor.txt
array (
  'name' => 'Default',
  'pages' => 'node/*
comment/*',
  'excludes' => 'edit-log
edit-menu-description',
  'iconpath' => '%BUEDITOR/icons',
  'spriteon' => '1',
  'buttons' => 
  array (
    0 => 
    array (
      'title' => 'Insert/edit image',
      'content' => 'js:
var form = [
 {name: \'src\', title: \'Image URL\', required: true, suffix: E.imce.button(\'attr_src\')},
 {name: \'width\', title: \'Width x Height\', suffix: \' x \', getnext: true, attributes: {size: 3}},
 {name: \'height\', attributes: {size: 3}},
 {name: \'alt\', title: \'Alternative text\', required: true}
];
E.tagDialog(\'img\', form, {title: \'Insert/edit image\'});',
      'icon' => 'image.png',
      'accesskey' => 'M',
      'weight' => '0',
    ),
    1 => 
    array (
      'title' => 'Insert/edit link',
      'content' => 'js:
var form = [
 {name: \'href\', title: \'Link URL\', required: true, suffix: E.imce.button(\'attr_href\')},
 {name: \'html\', title: \'Link text\'},
 {name: \'title\', title: \'Link title\'}
];
E.tagDialog(\'a\', form, {title: \'Insert/edit link\'});',
      'icon' => 'link.png',
      'accesskey' => 'L',
      'weight' => '1',
    ),
    2 => 
    array (
      'title' => 'tpl:dot',
      'content' => '',
      'icon' => 'dot.png',
      'accesskey' => '',
      'weight' => '2',
    ),
    3 => 
    array (
      'title' => 'Bold',
      'content' => '<strong>%TEXT%</strong>',
      'icon' => 'bold.png',
      'accesskey' => 'B',
      'weight' => '3',
    ),
    4 => 
    array (
      'title' => 'Italic',
      'content' => '<em>%TEXT%</em>',
      'icon' => 'italic.png',
      'accesskey' => 'I',
      'weight' => '4',
    ),
    5 => 
    array (
      'title' => 'Underline',
      'content' => '<ins>%TEXT%</ins>',
      'icon' => 'underline.png',
      'accesskey' => 'U',
      'weight' => '5',
    ),
    6 => 
    array (
      'title' => 'Strikethrough',
      'content' => '<del>%TEXT%</del>',
      'icon' => 'strike.png',
      'accesskey' => 'S',
      'weight' => '6',
    ),
    7 => 
    array (
      'title' => 'tpl:dot',
      'content' => '',
      'icon' => 'dot.png',
      'accesskey' => '',
      'weight' => '7',
    ),
    8 => 
    array (
      'title' => 'Ordered list. Converts selected lines to a numbered list.',
      'content' => 'js: E.wrapLines(\'<ol>\\n\', \'  <li>\', \'</li>\', \'\\n</ol>\');',
      'icon' => 'ol.png',
      'accesskey' => 'O',
      'weight' => '8',
    ),
    9 => 
    array (
      'title' => 'Unordered list. Converts selected lines to a bulleted list.',
      'content' => 'js: E.wrapLines(\'<ul>\\n\', \'  <li>\', \'</li>\', \'\\n</ul>\');',
      'icon' => 'ul.png',
      'accesskey' => 'N',
      'weight' => '9',
    ),
    10 => 
    array (
      'title' => 'tpl:dot',
      'content' => '',
      'icon' => 'dot.png',
      'accesskey' => '',
      'weight' => '10',
    ),
    11 => 
    array (
      'title' => 'Headings',
      'content' => 'js: E.tagChooser([
 [\'h1\', \'Heading1\'],
 [\'h2\', \'Heading2\'],
 [\'h3\', \'Heading3\'],
 [\'h4\', \'Heading4\'],
 [\'h5\', \'Heading5\'],
 [\'h6\', \'Heading6\']
]);',
      'icon' => 'headers.png',
      'accesskey' => 'H',
      'weight' => '11',
    ),
    12 => 
    array (
      'title' => 'Quote',
      'content' => '<blockquote>%TEXT%</blockquote>',
      'icon' => 'quote.png',
      'accesskey' => 'Q',
      'weight' => '12',
    ),
    13 => 
    array (
      'title' => 'Code',
      'content' => '<code>%TEXT%</code>',
      'icon' => 'code.png',
      'accesskey' => 'D',
      'weight' => '13',
    ),
    14 => 
    array (
      'title' => 'tpl:dot',
      'content' => '',
      'icon' => 'dot.png',
      'accesskey' => '',
      'weight' => '14',
    ),
    15 => 
    array (
      'title' => 'Teaser break',
      'content' => '<!--break-->',
      'icon' => 'teaserbr.png',
      'accesskey' => 'T',
      'weight' => '15',
    ),
    16 => 
    array (
      'title' => 'Preview',
      'content' => 'js: E.prv();',
      'icon' => 'preview.png',
      'accesskey' => 'P',
      'weight' => '16',
    ),
    17 => 
    array (
      'title' => 'Help',
      'content' => 'js: E.help(\'fadeIn\');',
      'icon' => 'help.png',
      'accesskey' => '1',
      'weight' => '17',
    ),
  ),
  'icons' => 
  array (
  ),
  'library' => 
  array (
    '%BUEDITOR/library/bue.min.default.js' => '',
  ),
)

File

import/default.bueditor.txt
View source
  1. array (
  2. 'name' => 'Default',
  3. 'pages' => 'node/*
  4. comment/*',
  5. 'excludes' => 'edit-log
  6. edit-menu-description',
  7. 'iconpath' => '%BUEDITOR/icons',
  8. 'spriteon' => '1',
  9. 'buttons' =>
  10. array (
  11. 0 =>
  12. array (
  13. 'title' => 'Insert/edit image',
  14. 'content' => 'js:
  15. var form = [
  16. {name: \'src\', title: \'Image URL\', required: true, suffix: E.imce.button(\'attr_src\')},
  17. {name: \'width\', title: \'Width x Height\', suffix: \' x \', getnext: true, attributes: {size: 3}},
  18. {name: \'height\', attributes: {size: 3}},
  19. {name: \'alt\', title: \'Alternative text\', required: true}
  20. ];
  21. E.tagDialog(\'img\', form, {title: \'Insert/edit image\'});',
  22. 'icon' => 'image.png',
  23. 'accesskey' => 'M',
  24. 'weight' => '0',
  25. ),
  26. 1 =>
  27. array (
  28. 'title' => 'Insert/edit link',
  29. 'content' => 'js:
  30. var form = [
  31. {name: \'href\', title: \'Link URL\', required: true, suffix: E.imce.button(\'attr_href\')},
  32. {name: \'html\', title: \'Link text\'},
  33. {name: \'title\', title: \'Link title\'}
  34. ];
  35. E.tagDialog(\'a\', form, {title: \'Insert/edit link\'});',
  36. 'icon' => 'link.png',
  37. 'accesskey' => 'L',
  38. 'weight' => '1',
  39. ),
  40. 2 =>
  41. array (
  42. 'title' => 'tpl:dot',
  43. 'content' => '',
  44. 'icon' => 'dot.png',
  45. 'accesskey' => '',
  46. 'weight' => '2',
  47. ),
  48. 3 =>
  49. array (
  50. 'title' => 'Bold',
  51. 'content' => '%TEXT%',
  52. 'icon' => 'bold.png',
  53. 'accesskey' => 'B',
  54. 'weight' => '3',
  55. ),
  56. 4 =>
  57. array (
  58. 'title' => 'Italic',
  59. 'content' => '%TEXT%',
  60. 'icon' => 'italic.png',
  61. 'accesskey' => 'I',
  62. 'weight' => '4',
  63. ),
  64. 5 =>
  65. array (
  66. 'title' => 'Underline',
  67. 'content' => '%TEXT%',
  68. 'icon' => 'underline.png',
  69. 'accesskey' => 'U',
  70. 'weight' => '5',
  71. ),
  72. 6 =>
  73. array (
  74. 'title' => 'Strikethrough',
  75. 'content' => '%TEXT%',
  76. 'icon' => 'strike.png',
  77. 'accesskey' => 'S',
  78. 'weight' => '6',
  79. ),
  80. 7 =>
  81. array (
  82. 'title' => 'tpl:dot',
  83. 'content' => '',
  84. 'icon' => 'dot.png',
  85. 'accesskey' => '',
  86. 'weight' => '7',
  87. ),
  88. 8 =>
  89. array (
  90. 'title' => 'Ordered list. Converts selected lines to a numbered list.',
  91. 'content' => 'js: E.wrapLines(\'
      \\n\', \'
    1. \', \'
    2. \', \'\\n
    \');',
  92. 'icon' => 'ol.png',
  93. 'accesskey' => 'O',
  94. 'weight' => '8',
  95. ),
  96. 9 =>
  97. array (
  98. 'title' => 'Unordered list. Converts selected lines to a bulleted list.',
  99. 'content' => 'js: E.wrapLines(\'
      \\n\', \'
    • \', \'
    • \', \'\\n
    \');',
  100. 'icon' => 'ul.png',
  101. 'accesskey' => 'N',
  102. 'weight' => '9',
  103. ),
  104. 10 =>
  105. array (
  106. 'title' => 'tpl:dot',
  107. 'content' => '',
  108. 'icon' => 'dot.png',
  109. 'accesskey' => '',
  110. 'weight' => '10',
  111. ),
  112. 11 =>
  113. array (
  114. 'title' => 'Headings',
  115. 'content' => 'js: E.tagChooser([
  116. [\'h1\', \'Heading1\'],
  117. [\'h2\', \'Heading2\'],
  118. [\'h3\', \'Heading3\'],
  119. [\'h4\', \'Heading4\'],
  120. [\'h5\', \'Heading5\'],
  121. [\'h6\', \'Heading6\']
  122. ]);',
  123. 'icon' => 'headers.png',
  124. 'accesskey' => 'H',
  125. 'weight' => '11',
  126. ),
  127. 12 =>
  128. array (
  129. 'title' => 'Quote',
  130. 'content' => '
    %TEXT%
    ',
  131. 'icon' => 'quote.png',
  132. 'accesskey' => 'Q',
  133. 'weight' => '12',
  134. ),
  135. 13 =>
  136. array (
  137. 'title' => 'Code',
  138. 'content' => '%TEXT%',
  139. 'icon' => 'code.png',
  140. 'accesskey' => 'D',
  141. 'weight' => '13',
  142. ),
  143. 14 =>
  144. array (
  145. 'title' => 'tpl:dot',
  146. 'content' => '',
  147. 'icon' => 'dot.png',
  148. 'accesskey' => '',
  149. 'weight' => '14',
  150. ),
  151. 15 =>
  152. array (
  153. 'title' => 'Teaser break',
  154. 'content' => '',
  155. 'icon' => 'teaserbr.png',
  156. 'accesskey' => 'T',
  157. 'weight' => '15',
  158. ),
  159. 16 =>
  160. array (
  161. 'title' => 'Preview',
  162. 'content' => 'js: E.prv();',
  163. 'icon' => 'preview.png',
  164. 'accesskey' => 'P',
  165. 'weight' => '16',
  166. ),
  167. 17 =>
  168. array (
  169. 'title' => 'Help',
  170. 'content' => 'js: E.help(\'fadeIn\');',
  171. 'icon' => 'help.png',
  172. 'accesskey' => '1',
  173. 'weight' => '17',
  174. ),
  175. ),
  176. 'icons' =>
  177. array (
  178. ),
  179. 'library' =>
  180. array (
  181. '%BUEDITOR/library/bue.min.default.js' => '',
  182. ),
  183. )