Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Note: For particulars, i just want the bold, italic and bullet properties.
Posted
Comments
Richard MacCutchan 11-Feb-15 4:42am    
What have you tried so far, and what problems are you having?
dirtyshooter 12-Feb-15 2:01am    
@{ ViewBag.Title = "Index";
}

Index


<script src="~/Scripts/tinymce/tinymce.min.js"></script>
<script src="~/Scripts/jquery-2.1.3.min.js"></script>
<textarea id="textarea1">Sample Text</textarea>
<input type="submit" id="submit" value="Submit" />

<script type="text/javascript">
tinyMCE.init({

selector: 'textarea',

});
</script>


i am using tinymce rich text editor. but all i want is bold,italics and bullets button in editor. and the rich text should be converted to html on click of submit button.

1 solution

You could bother to read the documentation.

http://www.tinymce.com/wiki.php/Configuration:toolbar[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900