Commit 2bffc608 authored by Antonio's avatar Antonio 🇪🇺

Event Description TinyMCE Fix

parent 4a1a28c4
This diff is collapsed.
......@@ -292,7 +292,7 @@ class StructuredContent_Shortcodes {
[
'html' => 'true',
'title' => '',
'description' => '',
'description' => $content,
'start_date' => '',
'end_date' => '',
'event_location' => '',
......
import '../styles/tinymce.scss';
import './tinymce.css';
export default function (editor) {
return {
......
form#sc-start-point input:not([type="checkbox"]),
form#sc-start-point select {
.mce-window.mce-container.mce-sc-panel .mce-container-body.mce-abs-layout {
overflow: hidden;
}
form#sc-start-point fieldset {
padding-top: 15px;
}
form#sc-start-point fieldset input:not([type=checkbox]), form#sc-start-point fieldset select {
width: 69%;
display: block;
box-sizing: border-box;
margin-bottom: 15px;
height: 30px;
border: 1px solid #dddddd;
}
input.mce-sc_serialized {
display: none;
border: 1px solid #ddd;
}
form#sc-start-point label {
form#sc-start-point fieldset label {
display: block;
margin-bottom: 5px;
margin-top: 5px;
......@@ -20,35 +23,26 @@ form#sc-start-point label {
float: left;
}
form#sc-start-point div {
form#sc-start-point fieldset div {
overflow: hidden;
clear: both;
}
form#sc-start-point div[name="imageID"] {
form#sc-start-point fieldset div[name=imageID] {
width: 31%;
float: left;
}
.sc-hr {
border: 0.5px solid #dddddd;
margin: 10px 0;
}
form#sc-start-point div[name="imageID"]::before {
content: 'Bild ID: ';
form#sc-start-point fieldset div[name=imageID]:before {
content: "Bild ID: ";
pointer-events: none;
}
button#addOne {
form#sc-start-point fieldset .mce-btn.long {
width: 100%;
}
div#fields fieldset {
padding-top: 15px;
}
.mce-btn.removeLast {
form#sc-start-point fieldset .mce-btn.removeLast {
display: none;
}
......@@ -57,12 +51,22 @@ form#sc-start-point fieldset:last-of-type .mce-btn.removeLast {
}
form#sc-start-point textarea {
white-space: normal;
border: 1px solid #ddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
background-color: #fff;
color: #32373c;
margin-bottom: 15px;
width: 69%;
display: block;
box-sizing: border-box;
}
form#sc-start-point #addOne {
width: 100%;
}
form#sc-start-point .sc-hr {
border: 0.5px solid #ddd;
margin: 10px 0;
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment