fixed tinymce
This commit is contained in:
parent
7517fa073c
commit
b0e7967d72
|
|
@ -212,8 +212,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
$( document ).ready(function() {
|
||||||
|
tinymce.remove('#dotation_full_descr');
|
||||||
|
tinymce.remove('#dotation_expert_info');
|
||||||
|
tinymce.remove('#dotation_positioning_text');
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: 'textarea#dotation_full_descr',
|
selector: '#dotation_full_descr',
|
||||||
height: 500,
|
height: 500,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
@ -229,7 +233,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: 'textarea#dotation_expert_info',
|
selector: '#dotation_expert_info',
|
||||||
height: 500,
|
height: 500,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
@ -246,7 +250,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
selector: 'textarea#dotation_positioning_text',
|
selector: '#dotation_positioning_text',
|
||||||
height: 500,
|
height: 500,
|
||||||
menubar: false,
|
menubar: false,
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
@ -260,5 +264,5 @@
|
||||||
'removeformat | help',
|
'removeformat | help',
|
||||||
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
|
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
|
||||||
});
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
|
||||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
||||||
<%= stylesheet_link_tag 'font_awesomeall', 'tempusdominus-bootstrap-4.min', 'select2.min', 'bootstrap-duallistbox.min', 'summernote-bs4', 'adminlte.min' %>
|
<%= stylesheet_link_tag 'font_awesomeall', 'tempusdominus-bootstrap-4.min', 'select2.min', 'bootstrap-duallistbox.min', 'summernote-bs4', 'adminlte.min' %>
|
||||||
<%= javascript_include_tag 'application' %>
|
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
||||||
<%= javascript_include_tag 'tinymce/tinymce.min' %>
|
<%= javascript_include_tag 'tinymce/tinymce.min' %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -103,6 +103,6 @@
|
||||||
|
|
||||||
<!-- REQUIRED SCRIPTS -->
|
<!-- REQUIRED SCRIPTS -->
|
||||||
|
|
||||||
<%= javascript_include_tag 'jquery_34.min', 'bootstrap.bundle.min', 'bs-custom-file-input.min', 'moment-with-locales.min', 'select2.full.min', 'jquery.bootstrap-duallistbox.min', 'tempusdominus-bootstrap-4.min', 'summernote-bs4', 'adminlte.min', 'bootstrap-switch.min', 'forms' %>
|
<%= javascript_include_tag 'jquery.min', 'bootstrap.bundle.min', 'bs-custom-file-input.min', 'moment-with-locales.min', 'select2.full.min', 'jquery.bootstrap-duallistbox.min', 'tempusdominus-bootstrap-4.min', 'summernote-bs4', 'adminlte.min', 'bootstrap-switch.min', 'forms' %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue