refinerycms: Display bug with WYMeditor, the iframe takes more space than it should
don’t know how to tackle this as it generated by the wymeditor javascript (I assume)
Code (generated by Refinery), enclosed in an additional div and form
<div id="homepage">
<%= f.fields_for :home_page do |f_home| -%>
<%= render '/refinery/admin/error_messages',
:object => @site.home_page,
:include_object_name => true %>
<div class='field'>
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
<ul id='page_parts'>
<% [:description].each_with_index do |part, part_index| %>
<li class='ui-state-default<%= ' ui-state-active' if part_index == 0 %>'>
<%= link_to t("#{part}", :scope => "activerecord.attributes.refinery/sites/home_page", :default => part.to_s.titleize), "##{part}" %>
</li>
<% end %>
</ul>
<div id='page_part_editors'>
<% [:description].each do |part| %>
<div class='page_part' id='<%= part %>'>
<%= f_home.text_area part, :rows => 20, :class => 'wymeditor widest' -%>
</div>
<% end %>
</div>
</div>
</div>
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 22 (12 by maintainers)
I think that’s very solid advice 😄
thanks for the help on this issue @evenreven ❤️ 💜 💛 💚