 |
|
การใช้งานมีหลายแบบในที่นี้ใช้แบบ script ก็แล้วกัน
Code (PHP)
<textarea name="message" wrap="virtual" id="message" style="width:480px; height:300px" class="textinput"></textarea>
<script>
CKEDITOR.replace( 'message2', {
toolbar: [
{ name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] },
[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Maximize', 'ShowBlocks','-','About'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
]
});
</script>
|
 |
 |
 |
 |
Date :
2014-12-12 08:51:17 |
By :
LAGO |
|
 |
 |
 |
 |
|
|
 |