Mon, May 17, 2021
 
https://devcodepro.comdevcodepro
X
Home · Latest · Trends  /  JavaScript
3

TinyMCE v 4 change font style / size / family

TinyMCE v 4 change default font style, font family, color...
tinymce.init({
selector: 'textarea',
height: 350,
content_style: ".mce-content-body {font-size:13px;color: #607d8b;font-family:tahoma,verdana}",
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table contextmenu paste code'
],
toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image'
});
rated 3 times (3) (0)
comments: 0 / hits: 1790  / 4 years ago, tue, aug 22, 17, 07:46:43
More From » JavaScript
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Posted
bigjoe
Member since Aug 6, 2017
Total Code Snippets: 5
Total Comments: 0
Location: n/a
bigjoe snippets
4 years ago, sun, aug 6, 17, 5:31:35
comments: 0 / hits: 2562
SQL
4 years ago, sun, aug 6, 17, 5:14:06
comments: 0 / hits: 3256
SQL
4 years ago, tue, aug 22, 17, 6:12:46
comments: 1 / hits: 6197
CSS
4 years ago, wed, aug 30, 17, 5:56:41
comments: 0 / hits: 1453