S
S
Sergey Defactov2017-01-15 12:47:59
JavaScript
Sergey Defactov, 2017-01-15 12:47:59

Wysiwyg instead of textarea?

tell me how to implement a wysiwyg editor instead of a regular textarea, preferably bootstrap

<textarea onkeyup="textAreaAdjust(this, 70)" name="postText" class="form-control postText" cols="10" rows="3" placeholder="<?php echo $wo['lang']['publisher_box_placeholder']; ?>" dir="auto"><?php echo $hashtag;?></textarea>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2017-01-15
@cashloveyou

Connect some ready-made editor to the textarea, for example CKEditor

A
Afatar, 2017-01-16
@Afatar

wysiwyg is not done in textarea, but in editable div + lots of JavasScript.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question