Skip to content

Commit 432a36a

Browse files
committed
added wp editor ajax support
1 parent d333835 commit 432a36a

File tree

14 files changed

+412
-91
lines changed

14 files changed

+412
-91
lines changed

assets/css/csf.css

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,10 +2425,37 @@ This file is generated by `grunt build`, do not edit it by hand.
24252425
margin-left: 5px;
24262426
}
24272427

2428+
.csf-field-wp_editor .csf-wp-editor {
2429+
float: left;
2430+
width: 100%;
2431+
}
2432+
.csf-field-wp_editor .mce-toolbar-grp {
2433+
border: none;
2434+
}
2435+
.csf-field-wp_editor .wp-media-buttons {
2436+
position: relative;
2437+
z-index: 2;
2438+
}
2439+
.csf-field-wp_editor .wp-editor-tabs {
2440+
position: relative;
2441+
z-index: 1;
2442+
}
2443+
.csf-field-wp_editor .csf-no-tinymce {
2444+
border: 1px solid #e5e5e5;
2445+
}
2446+
.csf-field-wp_editor .csf-no-quicktags .wp-media-buttons {
2447+
float: none;
2448+
display: block;
2449+
}
2450+
.csf-field-wp_editor .csf-no-quicktags .mce-tinymce {
2451+
box-shadow: none;
2452+
border: 1px solid #e5e5e5;
2453+
}
24282454
.csf-field-wp_editor textarea {
24292455
width: 100%;
24302456
max-width: 100%;
2431-
min-height: 125px;
2457+
margin: 0;
2458+
box-shadow: none;
24322459
}
24332460

24342461
.csf-field-heading {
@@ -2983,7 +3010,7 @@ This file is generated by `grunt build`, do not edit it by hand.
29833010
.csf-modal-inner {
29843011
position: relative;
29853012
z-index: 10;
2986-
width: 783px;
3013+
width: 760px;
29873014
height: 750px;
29883015
margin: 0 auto;
29893016
background-color: #fff;
@@ -2995,6 +3022,15 @@ This file is generated by `grunt build`, do not edit it by hand.
29953022
overflow-y: auto;
29963023
height: 592px;
29973024
}
3025+
.csf-modal-content .csf-shortcode-button {
3026+
display: none;
3027+
}
3028+
.csf-modal-content .csf-fieldset {
3029+
margin-left: 25%;
3030+
}
3031+
.csf-modal-content .csf-title {
3032+
width: 20%;
3033+
}
29983034
.csf-modal-content .csf-field {
29993035
padding: 15px 30px 15px 15px;
30003036
}
@@ -3152,12 +3188,12 @@ This file is generated by `grunt build`, do not edit it by hand.
31523188
}
31533189
.csf-modal-icon a {
31543190
display: inline-block;
3155-
padding: 3px;
3191+
padding: 4px;
31563192
cursor: pointer;
31573193
}
31583194
.csf-modal-icon a .csf-icon {
31593195
position: relative;
3160-
padding: 5px;
3196+
padding: 4px;
31613197
display: inline-block;
31623198
font-size: 14px;
31633199
width: 30px;
@@ -3181,7 +3217,8 @@ This file is generated by `grunt build`, do not edit it by hand.
31813217
background-color: #222;
31823218
}
31833219
.csf-modal-icon .csf-modal-content {
3184-
height: 638px;
3220+
padding: 10px;
3221+
height: 618px;
31853222
}
31863223
.csf-modal-icon .csf-text-error {
31873224
padding: 10px;

assets/css/csf.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/csf-plugins.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)