Ticket #6181 (closed Bug: fixed)

Opened 4 years ago

Last modified 17 months ago

jQuery adapter + jQuery ajaxForm -plugin not working

Reported by: kaffesump Owned by: pjasiun
Priority: Normal Milestone: CKEditor 4.2
Component: General Version:
Keywords: Cc:

Description (last modified by j.swiderski) (diff)

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

jqueryadapter.html (3.9 KB) - added by j.swiderski 3 years ago.

Change History

comment:1 Changed 4 years ago by tobiasz.cudnik

  • Status changed from new to confirmed

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).

comment:3 Changed 3 years ago by j.swiderski

  • Description modified (diff)

Changed 3 years ago by j.swiderski

comment:4 Changed 18 months ago by pjasiun

  • Owner set to pjasiun
  • Status changed from confirmed to review

comment:5 Changed 18 months ago by pjasiun

  • Milestone set to CKEditor 4.2

comment:6 Changed 18 months ago by pjasiun

in branch/ticket #10281

comment:7 Changed 18 months ago by pjasiun

  • Status changed from review to assigned

comment:8 Changed 17 months ago by a.nowodzinski

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy