as far as i know WYSIWYG editors just load the content of the <textarea> and have nothing to do with loading, are you sure the name etc are still the same on the edit so it doesn’t try to show a field that isn’t actually there (so it shows empty)
could you provide the code of your model/update view ?
I am assuming that when yii is able to extract the content of my widget, it should be able to place said content back into the widget when i want to edit that record. But im very new at this so might be happening stuff behind the bag that i know nothing off.
My update view is unchanged and auto generated.
Here is my _form.php from my model "content", the only place where i did any changes.
Okay, i think i found a solution to my little problem.
I did not get it to work the way i wanted (where either the program waited for the widget or visa vasa) but i remembered that the widget had a “Defaultvalue” attribute which i set to $model[‘my database coloum’].
This ment that if i was in create state, the window was left blank (as the model’s database colum was not yet set) and when i wanted to edit a entry, the field would get populated by the correct data onces the widget had loaded.