rails_admin_ui_layout_taris 1.2.17 → 1.2.18
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 426b4b2796ced50d1a8c3662b7945914a42fef8b
|
4
|
+
data.tar.gz: 2b5ade06d609239f001cad1549f9ef9a85e7fe83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 259da2a44281f1947f4847efffeb21cf379204be57a7a4c90a2bc2a54887f0ed861f78392fc0d7630af5733aeb86cc6ca5471ad224196a6c9cffee9bd89bfceb
|
7
|
+
data.tar.gz: 37560b6667ac80f90d04ac33bf1b459a84ad3009b4e10222f693d3467b06697b2ac3733641f4551904e78ef83dc42c40b9e9fe83a9c9a8edf4ce7c1f6517cf6e
|
@@ -9,6 +9,21 @@ base_path << Rails.application.config.assets.prefix
|
|
9
9
|
base_path << '/ckeditor/'
|
10
10
|
%>
|
11
11
|
<script>
|
12
|
-
|
13
|
-
console.log(
|
12
|
+
ckeditor_bpath = '<%= base_path %>';
|
13
|
+
console.log(ckeditor_bpath)
|
14
|
+
if (typeof(CKEDITOR) != 'undefined') {
|
15
|
+
CKEDITOR.editorConfig = function( config )
|
16
|
+
{
|
17
|
+
config.base_location = ckeditor_bpathM
|
18
|
+
// config.toolbar = 'Basic';
|
19
|
+
// config.toolbar_Basic =
|
20
|
+
// [
|
21
|
+
// ['Source', 'Bold', 'Italic', 'NumberedList', 'BulletedList', 'Link', 'Unlink']
|
22
|
+
// ];
|
23
|
+
|
24
|
+
// config.enterMode = CKEDITOR.ENTER_BR;
|
25
|
+
// config.shiftEnterMode = CKEDITOR.ENTER_BR;
|
26
|
+
// config.autoParagraph = false;
|
27
|
+
}
|
28
|
+
}
|
14
29
|
</script>
|
@@ -12,7 +12,6 @@
|
|
12
12
|
div#wrapper div#sidebar-wrapper { overflow: hidden }
|
13
13
|
|
14
14
|
= stylesheet_link_tag "rails_admin/rails_admin.css", media: :all
|
15
|
-
= render "layouts/rails_admin/ckeditor_base_path"
|
16
15
|
= javascript_include_tag "rails_admin/rails_admin.js"
|
17
16
|
|
18
17
|
= favicon_link_tag 'apple-touch-icon.png', rel: 'apple-touch-icon', sizes: "180x180"
|
@@ -44,6 +43,7 @@
|
|
44
43
|
= Settings.app_name rescue "Thecore"
|
45
44
|
.content{:'data-pjax-container' => true}
|
46
45
|
= render template: 'layouts/rails_admin/pjax'
|
46
|
+
= render "layouts/rails_admin/ckeditor_base_path"
|
47
47
|
= render "rails_admin/main/modal_interaction"
|
48
48
|
-# -# Initialize JS simple i18n
|
49
49
|
-# :javascript
|