In our previous tutorial, you have learned how to create PDF in PHP. In this tutorial you will learn how to convert HTML to PDF using JavaScript. PDF creation is one of the most important feature of web applications. Sometimes we need to implement to convert HTML file into PDF file. Converting HTML to PDF […]
Javascript
Here you will find useful JavaScript tips and tutorials..
Insert content at cursor position in tinyMCE editor
Recently I had a requirement to add text and images at the cursor position in tiny editor. Actually I had to implement multiple images attachment with “add to post” button with each uploaded images and when user clicked the button “add to post”, the image will be get inserted at cursor position in tinyMCE editor.
How to Customize TinyMCE Editor?
TinyMCE is a open-source web based JavaScript HTML WYSIWYG editor, which allows users to add custom HTML and CSS without having to remember any code. You can simply select the element or text and apply the relevant format using the style drop-down, font drop-down, font size available in the visual editor.