Opened 16 years ago
Last modified 16 years ago
#4210 closed New Feature
CKEditor plugin for jQuery — at Version 3
| Reported by: | Tobiasz Cudnik | Owned by: | Tobiasz Cudnik |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.1 |
| Component: | General | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description (last modified by )
Create a jQuery plugin, which will allow jQuery users easily integrate rich text editing into their applications.
Mockup of planned API:
// chainably transform textareas into CKEditor instance
$('textarea').ckeditorCreate()
// extensive example
$('#editors textarea')
.eq(0).ckeditorCreate({ lang: 'pl', width: 300 }).end()
.eq(1).ckeditorCreate({ width: 500, height: 400 }).end()
// more then one at once
.slice(2).ckeditorCreate({ lang: 'ar' }).end()
// get instance (create it if needed)
$('textarea').ckeditor()
# access internal API methods
// get data from editor
$('textarea').ckeditor().getData()
// set data into editor
$('textarea').ckeditor().setData("New editor content")
// change ui color
$('textarea').ckeditor().setUiColor('#FFFFFF')
// remove editor from the page
$('textarea').ckeditor().destroy()
Possible, not confirmed:
- Automatically push instance data into textarea on events:
- submit
- ajaxSubmit
- Bridge textarea setter/getter val() with CKEditor
- Easy editor's content lookup using selectors
Change History (3)
comment:1 Changed 16 years ago by
| Owner: | set to Tobiasz Cudnik |
|---|---|
| Status: | new → assigned |
comment:2 Changed 16 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 16 years ago by
| Description: | modified (diff) |
|---|
