anchor.diff:        alert("<%= t('document.body.title3')%>");
       } else if (resource_type == "link" && $("#AddWriting input[name='"+resource_type+"[url]']").val() == ""){
         alert("<%= t('link.title3')%>");
  -    } else if (resource_type == "embed" && $("#AddWriting input[name='"+resource_type+"[plaintext]']").val() == "") {
  +    } else if (resource_type == "embed" && $("#AddWriting input[name='"+resource_type+"[fulltext]']").val() == "") {
         alert("<%= t('embed.title3')%>");
  -    } else if (resource_type == "writing" && $("#AddWriting textarea[name='"+resource_type+"[plaintext]']").val() == "") {
  +    } else if (resource_type == "writing" && $("#AddWriting textarea[name='"+resource_type+"[fulltext]']").val() == "") {
         alert("<%= t('writing.title3')%>");
       } else if($("#AddWriting .title").val() == "") {
         alert("<%= t('document.title_alert')%>");
  
positive.code:      var resource_type = "writing";//$("#AddWriting .accordion-body.collapse.in").attr('id');
  
       //XXX nuevo
       var plaintext = CKEDITOR.instances.new_file_only_writing_plaintext.document.getBody().getText();
       var fulltext = CKEDITOR.instances.new_file_only_writing_plaintext.getData();
  
       $("#new_file_only_writing_plaintext").val(plaintext);
       $("#new_file_only_writing_fulltext").val(fulltext);
  
negative.code:                 <%= f.hidden_field :owner_id %>
                  <%= f.hidden_field :title%>
                  <%= f.hidden_field :description%>
                  <%= f.text_area :fulltext %>
                  <%= f.hidden_field :plaintext, :value => "" %>
                  <%= f.hidden_field :tag_list, :multiple => true %>
                  <%= f.hidden_field :language, :value => "" %>
                  <%= f.hidden_field :age_min, :value => "4" %>
  