The forum operates in read-only mode. Please head to StackOverflow for support.
Hi,
I already have a bootstrap template with me and i want to use ckeditor to edit the text and the images inside it. Could someone please guide me as to how to go about it?
Thanks
It's really simple.
1. Extract archive file somewhere on your server (it doesn't really matter where).
2. Between the head tag put following line of code:
<script src="PATH/ckeditor/ckeditor.js"></script>
3. At the end of the file in which you want to use ckeditor just the following code:
<script>CKEDITOR.replace('name');</script>
Replace 'name' with name of textarea value. Example:
Textarea:
<textarea class="form-control" name="example"></textarea>
JS script:
I made a mistake in example, but I can't update my previous post (spam filter >.<).
<script>CKEDITOR.replace('example');</script>
Thanks a lot Laran. It did work.
It's really simple.
It's really simple.
1. Extract archive file somewhere on your server (it doesn't really matter where).
2. Between the head tag put following line of code:
3. At the end of the file in which you want to use ckeditor just the following code:
Replace 'name' with name of textarea value. Example:
Textarea:
JS script:
I made a mistake in example,
I made a mistake in example, but I can't update my previous post (spam filter >.<).
Textarea:
JS script:
Ckeditor issue
Thanks a lot Laran. It did work.