Synchronously render the editor guide (#7140)
This commit is contained in:
parent
c8845e647a
commit
53a71c3930
2 changed files with 3 additions and 2 deletions
|
|
@ -28,5 +28,6 @@
|
|||
<% end %>
|
||||
|
||||
<%= render "shared/webcomponents_loader_script" %>
|
||||
<%= javascript_packs_with_chunks_tag "clipboardCopy", "articleForm", defer: true %>
|
||||
<%= render "articles/v2_form", article: @article, organizations: @organizations, version: @version %>
|
||||
|
||||
<%= javascript_packs_with_chunks_tag "clipboardCopy", "articleForm", defer: true %>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
<% if user_signed_in? %>
|
||||
<%= render "shared/webcomponents_loader_script" %>
|
||||
<%= javascript_packs_with_chunks_tag "clipboardCopy", "articleForm", defer: true %>
|
||||
<%= render "articles/v2_form", article: @article, organizations: @organizations, version: @version %>
|
||||
<%= javascript_packs_with_chunks_tag "clipboardCopy", "articleForm", defer: true %>
|
||||
<% else %>
|
||||
<% @new_article_not_logged_in = true %>
|
||||
<%= render "devise/registrations/registration_form" %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue