Skip to content
Snippets Groups Projects
Commit 8b125d10 authored by Andy C's avatar Andy C
Browse files

Added font faces drop down

parent e34be9f2
No related branches found
No related tags found
No related merge requests found
......@@ -73,17 +73,6 @@ $(document).ready(function () {
return true;
}
},
{
'type': 'icon',
'icon': 'font',
'name': 'font',
'id': 'font',
'title': 'Font',
'onclick': function () {
return true;
}
},
{
'type': 'icon',
'icon': 'align-left',
......@@ -163,6 +152,55 @@ $(document).ready(function () {
return true;
}
},
{
'type': 'drop',
'id': 'font-faces',
'values': [{
'name': 'Fonts',
'value': ''
},
{
'name': 'Arial',
'value': 'Arial'
},
{
'name': 'Arial Black',
'value': 'Arial Black'
},
{
'name': 'Courier',
'value': 'Courier'
},
{
'name': 'Courier New',
'value': 'Courier New'
},
{
'name': 'Georgia',
'value': 'Georgia'
},
{
'name': 'Helvetica',
'value': 'Helvetica'
},
{
'name': 'Times',
'value': 'Times'
},
{
'name': 'Trebuchet MS',
'value': 'Trebuchet MS'
},
{
'name': 'Verdana',
'value': 'Verdana'
},
],
'onchange': function () {
document.execCommand('fontName', false, this.value);
return true;
}
},
{
'type': 'drop',
'id': 'font-size',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment