Editor is most feature in any web application for clean and formatted contain.
So lets talk about tinymce editor and customization for same.
For display formatted contain on front side to require use proper text colour, alignment and font size etc.
Tinymce editor is popular and integrated with many open source framework. So the reason behind I was working on one of the project and faced some issues with contain format and design.
I have goggling and found the good solution so the reason I want share with you and save your time.
Tinymce editor applied in textarea and if image is added in textarea using tinymce editor then UI not coming properly in front end.
After addition image and contain will be display with image on front end side but facing some issues of design of the page related image.
So for resolution of alignment of page issue. want to remove option for insert images, video from tinymce editor.
Before removing Insert menu of image/video upload in tinymce editor screenshots is below.
Removing media link in the tinymce script you need remove link media from menu->insert option of tinymce editor.
After removing the Insert option for insert image and insert video in tinymce editor screenshorts is below
Following tinymce editor script for removing insert option and other option using menu options in configuration.
So lets talk about tinymce editor and customization for same.
For display formatted contain on front side to require use proper text colour, alignment and font size etc.
Tinymce editor is popular and integrated with many open source framework. So the reason behind I was working on one of the project and faced some issues with contain format and design.
I have goggling and found the good solution so the reason I want share with you and save your time.
Tinymce editor applied in textarea and if image is added in textarea using tinymce editor then UI not coming properly in front end.
After addition image and contain will be display with image on front end side but facing some issues of design of the page related image.
So for resolution of alignment of page issue. want to remove option for insert images, video from tinymce editor.
Before removing Insert menu of image/video upload in tinymce editor screenshots is below.
Removing media link in the tinymce script you need remove link media from menu->insert option of tinymce editor.
After removing the Insert option for insert image and insert video in tinymce editor screenshorts is below
Following tinymce editor script for removing insert option and other option using menu options in configuration.
tinymce.init({ selector: "textarea",
menubar : false,
menu : { // this is the complete default configuration
file : {title : 'File' , items : 'newdocument'},
edit : {title : 'Edit' , items : 'undo redo | cut copy paste pastetext | selectall'},
insert : {title : 'Insert', items : 'template hr'}, //link media remove it
view : {title : 'View' , items : 'visualaid'},
format : {title : 'Format', items : 'bold italic underline strikethrough superscript subscript | formats | removeformat'},
table : {title : 'Table' , items : 'inserttable deletetable | cell row column'},
tools : {title : 'Tools' , items : 'spellchecker code'}
},
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen",
"insertdatetime media table contextmenu paste"
],
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
});
I run a small production unit, and I wanted to celebrate 10th anniversary with my family, friends, and employees. One of my friends surprised me with a video greeting by compiling photographs and short video clippings recorded at several occasions. He did it with the help of professional video editing service, and made all of us feel proud of our success story, earned through consistent hard work.
ReplyDelete