Tue, October 27, 2020, 21:32:13
 
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: 1592  / 3 years ago, tue, aug 22, 2017, 07:46:43
More From » JavaScript
 

Comments

There are no comments for this Snippet yet
Username
 
Your Comment
 
Share
Snippets
MySQL error when update default value for DATETIME
3 years ago, sun, aug 6, 2017
3 years ago, sun, aug 6, 2017
CSS change bootstrap 4 tooltip color
3 years ago, tue, aug 22, 2017
Scroll to the top of the page button with jQuery
3 years ago, wed, aug 30, 2017
Posted
bigjoe

bigjoe

Member since Aug 6, 2017
Total Code Snippets: 5
Total Comments: 0
Location: n/a
Following
User not following anyone yet.