I have tried using ajax like your function for the first time using tinyMce
or FckEditor (now CKeditor) but both worked on second submit, not on first
submit form data. So, I decided not using ajax even thought I am interested
using with ajax.

Now, I found the solution from you and all.

When look at the source code of the demo on tinyMce about this ajax. I
think that why data just saved on second submit, it needs setTimeout to get
content.

Thanks, I will update my source code and using it.

Best Regards

Saiful Amri


On Tue, Oct 16, 2012 at 4:57 PM, Barry vd. Heuvel <[email protected]>wrote:

> Not sure, I have been using for years.
>
> First, you had to use triggersave, before saving, but for atleast 1 year,
> I just do
> $.post(url, form.serialize(), function (data){..}
> and it works fine..
>
> On Tue, Oct 16, 2012 at 4:36 AM, Saiful Amri <[email protected]>wrote:
>
>> Hallo Barry...
>>
>> Awesome! Barry, that is what I mean. Last time ( I use Version 3.5b2
>> (2012-03-15), now Version: 3.5.7)  when I google about that AJAX
>> Compatible, I didn't found demo about it, and in TinyMce demo page too.
>>
>> So long time, I didn't visit TinyMce, is that new demo and compatibility?
>> when it is added by TinyMce?
>>
>> Thanks,
>>
>>
>> Best Regards
>>
>> Saiful Amri
>>
>>
>> On Tue, Oct 16, 2012 at 3:37 AM, Barry vd. Heuvel <[email protected]>wrote:
>>
>>> Why not? There is an example for ajax save/load;
>>> http://www.tinymce.com/tryit/ajax_load_save.php
>>>
>>>
>>> On Mon, Oct 15, 2012 at 9:58 PM, Saiful Amri <[email protected]>wrote:
>>>
>>>> Hello...
>>>>
>>>> Thank you for all of your answers, I mean that, how to using editor for
>>>> web like TinyMCE or other editors in BT that support ajax when save the
>>>> content of editor into a database in add or edit operation of a content. I
>>>> found that TinyMCE or CKeditor does not support saving directly using ajax
>>>> without refresh page. Maybe, they are using Iframe on background editor, so
>>>> we ca not save a content using ajax directly, the content can not be read
>>>> when saving into a database.
>>>>
>>>>
>>>> thanks
>>>>
>>>> Best Regards
>>>>
>>>> Saiful Amri
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Oct 16, 2012 at 12:03 AM, Barry Carlyon <[email protected]
>>>> > wrote:
>>>>
>>>>> I don't think he was after a offline html editor/programmer/dev
>>>>> environment.
>>>>>
>>>>> But after something like TinyMCE that WordPress uses for its post
>>>>> editor...
>>>>>
>>>>> I could be wrong tho. Original post is a little unclear really.
>>>>>
>>>>> Sent from my iPad
>>>>>
>>>>> On 15 Oct 2012, at 17:54, Eric Fookes <[email protected]> wrote:
>>>>>
>>>>> If you're using Windows, you might like to give NoteTab a try. It's
>>>>> currently the only code-based HTML editor that supports Bootstrap (v 
>>>>> 2.1.1).
>>>>>
>>>>> Building a Bootstrap page with NoteTab is really easy. First open the
>>>>> included Bootstrap Clip library in NoteTab and then drag-and-drop 
>>>>> Bootstrap
>>>>> snippets into your document. Most of these pop up a dialog box that lets
>>>>> you select options and fill-in fields before the completed code is pasted
>>>>> in your page. You'll find more details and some screenshots here:
>>>>>
>>>>> http://www.notetab.com/html-editor.php#Clips
>>>>>
>>>>> NoteTab is available in several editions, including a free one called
>>>>> NoteTab Light.
>>>>>
>>>>> Full disclosure: we are the developers of NoteTab.
>>>>>
>>>>> On Monday, March 26, 2012 4:02:16 PM UTC+2, Saiful Amri wrote:
>>>>>>
>>>>>> Hello, Is there any suitable editor for bootstraps?
>>>>>>
>>>>>> I have been tried tinyeditor, but it does not support ajax for
>>>>>> calling editor...
>>>>>>
>>>>>> Wysiwyg editor good, but still bad in design....
>>>>>>
>>>>>> Btw, how to post something using ajax + Wysiwyg?
>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to