Opened 15 years ago
Closed 12 years ago
#6181 closed Bug (fixed)
jQuery adapter + jQuery ajaxForm -plugin not working
| Reported by: | Carl-Johan Blomqvist | Owned by: | Piotr Jasiun |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.2 |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description (last modified by )
When doing the following code (see further down) on a form consisting of an textarea with id "startpage-content" and I press the "Save"-button in CKEditor's toolbar, the page does a normal form submit. However, if I put an input-button below the CKEditor-textarea, everything works as expected.
Using: CKEditor 3.4, jQuery 1.4, latest version of the ajaxForm -script as of today, Windows 7, FF3.6.
jQuery("#startpage-content").ckeditor({
language : editorLanguage,
toolbar: editorToolbar,
format_tags: 'p;h1',
format_h1: {
element: 'h1'
},
forcePasteAsPlainText: true,
contentsCss: 'css/startpage.css',
height: 500,
resize_maxWidth: ( 622 ),
resize_minWidth: ( 622 )
});
jQuery("#startpage-content").parents("form:first").ajaxForm(function () {
alert("!");
});
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|
comment:3 Changed 14 years ago by
| Description: | modified (diff) |
|---|
Changed 14 years ago by
| Attachment: | jqueryadapter.html added |
|---|
comment:4 Changed 12 years ago by
| Owner: | set to Piotr Jasiun |
|---|---|
| Status: | confirmed → review |
comment:5 Changed 12 years ago by
| Milestone: | → CKEditor 4.2 |
|---|
comment:7 Changed 12 years ago by
| Status: | review → assigned |
|---|
comment:8 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

This is not jQuery related issue, it's rather Save plugin integration abilities.
About jQuery integration, you should check our jQuery adapter, which is compatible with jQuery Forms (using form-pre-serialize event).