How to make a rich text box like

Last time to do personal blog project after use rich text box to see some information, and forcing effect, following my steps for everyone

1. Effect
Here Insert Picture Description
2. Download rich text js package.
Enter the link below.

https://ckeditor.com/cke4/builder‘

2.1 choose among the following three modes a (basic, standard, rich)
Here Insert Picture Description
2.2 plug-in or select skin
Here Insert Picture Description
2.3 Select Language
Here Insert Picture Description
2.4 can download the last
Here Insert Picture Description
3.
After the download is complete 3.1 is a folder called ckeditor
put it into static of buttons (I use springboot)

Here Insert Picture Description
3.2 to enter the page you want to use, will ckeditor / ckeritor.js guided into

<script src="../../static/ckeditor/ckeditor.js"></script>

3.3 Then place the following statement into the place you want to write something

 <textarea   name="editor01"></textarea>

3.4 Finally, add the following statement to

<script>
        CKEDITOR.replace('editor01');
</script>

To put this statement on the back of a statement, or each effect

Article to end here, do not understand and leave a message

Published 10 original articles · won praise 0 · Views 371

Guess you like

Origin blog.csdn.net/m0_45025658/article/details/104106197