#3732: loadData on wysiwyg mode without iframe reload ----------------------------------+----------------------------------------- Reporter: garry.yao | Owner: Type: New Feature | Status: new Priority: Normal | Milestone: CKEditor 3.x Component: General | Version: Keywords: Confirmed Discussion | ----------------------------------+-----------------------------------------
Comment(by alfonsoml): Yes, working with full page editing will require to recreate all the iframe and wait for the new content to be loaded. Nevertheless, it might be possible for normal editing to avoid the recreation of the iframe, but that would be only a minor optimization, users must assume that SetData is asynchronous. A way to keep this fact visible for everyone would be to add a callback parameter to the function, I think that it's pretty common for any asynchronous function to offer such parameter. Yes, people can set up an event listener, but if they just want to execute that code once, having a way to specify the function that will be executed right after his new data is ready will be very useful and will avoid many problems. It's very easy to point everyone to the definition of the function and say "see there: the second parameter is a callback function that will be executed when the new data is ready" -- Ticket URL: <http://dev.fckeditor.net/ticket/3732#comment:2> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac