Minor fixes, improvements to full screen rich editor
This commit is contained in:
parent
62796e08b6
commit
2cf8ad8c27
|
|
@ -175,8 +175,9 @@ class ServiceProvider extends ModuleServiceProvider
|
|||
$combiner->registerBundle('~/modules/backend/assets/js/october.js');
|
||||
$combiner->registerBundle('~/modules/backend/assets/js/vendor/vendor.js');
|
||||
$combiner->registerBundle('~/modules/backend/widgets/table/assets/js/build.js');
|
||||
$combiner->registerBundle('~/modules/backend/formwidgets/richeditor/assets/js/build.js');
|
||||
$combiner->registerBundle('~/modules/backend/formwidgets/datepicker/assets/js/build.js');
|
||||
$combiner->registerBundle('~/modules/backend/formwidgets/richeditor/assets/less/richeditor.less');
|
||||
$combiner->registerBundle('~/modules/backend/formwidgets/richeditor/assets/js/build.js');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -297,6 +297,10 @@
|
|||
|
||||
$.fn.popup.Constructor = Popup
|
||||
|
||||
$.popup = function (option) {
|
||||
return $('<a />').popup(option)
|
||||
}
|
||||
|
||||
// POPUP NO CONFLICT
|
||||
// =================
|
||||
|
||||
|
|
|
|||
|
|
@ -41,5 +41,5 @@
|
|||
background-image: url(../images/october-logo-transparent.svg);
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 50% contain;
|
||||
background-size: 50% auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ class Repeater extends FormWidgetBase
|
|||
|
||||
$config = $this->makeConfig($this->form);
|
||||
$config->model = $this->model;
|
||||
$config->data = array_get($loadValue, $index);
|
||||
$config->data = array_get($loadValue, $index, []);
|
||||
$config->alias = $this->alias . 'Form'.$index;
|
||||
$config->arrayName = $this->formField->getName().'['.$index.']';
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -292,6 +292,7 @@
|
|||
padding: 0 15px !important;
|
||||
color: @dropdown-link-color !important;
|
||||
text-decoration: none !important;
|
||||
line-height: 25px;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @color-dropdown-hover-text !important;
|
||||
|
|
|
|||
|
|
@ -91,18 +91,9 @@
|
|||
|
||||
.redactor-editor {
|
||||
border: none;
|
||||
}
|
||||
|
||||
body .redactor-box-fullscreen {
|
||||
background: @color-body-bg;
|
||||
overflow-y: scroll !important;
|
||||
width: 100%!important;
|
||||
.redactor-editor {
|
||||
background: #fff;
|
||||
max-width: 960px;
|
||||
margin: @richeditor-gutter auto !important;
|
||||
padding: @richeditor-gutter;
|
||||
}
|
||||
font-size: 13px;
|
||||
color: @input-color;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
@ -124,8 +115,8 @@ body .redactor-box-fullscreen {
|
|||
display: block;
|
||||
border-bottom: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.redactor-editor, textarea {
|
||||
|
|
@ -135,6 +126,7 @@ body .redactor-box-fullscreen {
|
|||
bottom: 0;
|
||||
position: absolute;
|
||||
height: auto !important;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.redactor-editor {
|
||||
|
|
@ -146,3 +138,21 @@ body .redactor-box-fullscreen {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Full screen
|
||||
//
|
||||
|
||||
body .redactor-box-fullscreen {
|
||||
background: @color-body-bg;
|
||||
overflow-y: scroll !important;
|
||||
width: 100% !important;
|
||||
.redactor-editor {
|
||||
background: #fff;
|
||||
max-width: 960px;
|
||||
padding: 50px 30px !important;
|
||||
margin: @richeditor-gutter auto !important;
|
||||
padding: @richeditor-gutter;
|
||||
top: 0 !important;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue