Signed-off-by: emanuele <[email protected]>
@@ -71,7 +71,8 @@ function template_control_richedit($editor_id, $smileyContainer = null, $bbcCont
$(document).ready(function() {
$("#' . $editor_id . '").sceditorBBCodePlugin({
- style: "' . $settings['default_theme_url'] . '/css/jquery.sceditor.default.css"';
+ style: "' . $settings['default_theme_url'] . '/css/jquery.sceditor.default.css",
+ colors: "black,red,yellow,pink,green,orange,purple,blue,beige,brown,teal,navy,maroon,limegreen,white"';
// Show the smileys.
if ((!empty($context['smileys']['postform']) || !empty($context['smileys']['popup'])) && !$editor_context['disable_smiley_box'] && $smileyContainer !== null)
@@ -115,8 +115,8 @@ div.sceditor-dropdown, div.sceditor-dropdown div {
.sceditor-color-option {
display: block;
border: 1px solid #fff;
- height: 10px;
- width: 10px;
+ height: 20px;
+ width: 100px;
overflow: hidden;
}
.sceditor-color-option:hover { border: 1px solid #333; }