I'm looking forward to creating a very simple way that allows users to write, resize, position or change the color of a text inside a <div>
. I know jQuery little bit.
My HTML
<div class="canvas">
<div id ="u-test-id" class="u-test-class" contenteditable="true">
Testing
</div>
</div>
Here .canvas
is a <div>
, sometimes it contains an image or another background color. I already write the code to change the color and background image of that <div class="canvas">
.
What I need is that the user can enter the text very easily and he can style it as he wishes. Please see the image:
This image i capure from mailchimp. In mailchimp when we creating an template design , it will provide the same thing i wanted . Here user can add text , he can rotate text , change font family, color etc .
Actually the color and font family things , i know how to do this with jquery .But the rotation of the text div is complicated i think. How to do this rotation ?
Here I am not asking for code, but I want to see a working demo that helps me to understand the working and learn jQuery. Please anyone can give the sample for this work, or suggest any free jQuery plugin or the basic code.