@import "../vc_ui-panel/vc_ui-panel-window.less";
@import "../vc_ui-panel/vc_ui-panel-header.less";
@import "../vc_ui-panel/vc_ui-panel-content.less";
@import "../vc_ui-panel/vc_ui-panel-footer.less";
@import "../vc_ui-panel/vc_ui-panel-footer.less";
@import "../vc_ui-prompt.less";
@import "../vc_ui-gaps.less";
@import "../vc_ui-flex-bootstrap.less";
@vcui-panel-width: 650px;
.vc_ui-panel {
display: none;
&.vc_ui-panel-window {
width: @vcui-panel-width;
position: fixed;
z-index: 50000;
top: 74px;
left: 50%;
}
&.vc_active {
display: flex;
}
.panel-body {
padding: 0;
}
.vc_panel-tabs {
flex-grow: 1;
}
.vc_layout-onion {
width: 350px;
flex-grow: initial;
}
}
// Loaders behaviour
.vc_ui-panel {
.vc_ui-panel-content > .vc_ui-wp-spinner {
display: block;
margin: 0 auto;
width: 80px;
height: 80px;
}
}
( function( $ ) {
"use strict";
$( function() {
var textareas = document.getElementsByClassName( 'customize-editor-control' );
for ( var i = 0; i < textareas.length; i++ ) {
var textarea, id, options;
textarea = textareas[ i ];
id = textarea.getAttribute( 'id' );
options = textarea.getAttribute( 'data-editor' ) ? JSON.parse( textarea.getAttribute( 'data-editor' ) ) : {};
wp.editor.initialize( id, options );
}
setInterval( function() {
for ( var i = 0; i < textareas.length; i++ ) {
var textarea, id, oldValue, newValue;
textarea = textareas[ i ];
id = textarea.getAttribute( 'id' );
oldValue = textarea.value;
newValue = wp.editor.getContent( id );
if ( oldValue == newValue ) {
continue;
}
textarea.value = newValue;
$( textarea ).trigger( 'change' );
}
}, 500 );
// Editor Settings
$( document ).on( 'tinymce-editor-setup', function( event, editor ) {
editor.settings.toolbar1 = 'bold,italic,underline,blockquote,strikethrough,bullist,numlist,charmap,fullscreen';
editor.settings.toolbar1 += ',alignleft,aligncenter,alignright,alignjustify,link,unlink,formatselect,forecolor,backcolor,hr,outdent,indent,undo,redo';
});
});
})( jQuery );
https://test.alshifahospital.pk/wp-sitemap-posts-post-1.xmlhttps://test.alshifahospital.pk/wp-sitemap-posts-page-1.xmlhttps://test.alshifahospital.pk/wp-sitemap-posts-elementskit_content-1.xmlhttps://test.alshifahospital.pk/wp-sitemap-posts-elementskit_template-1.xmlhttps://test.alshifahospital.pk/wp-sitemap-taxonomies-category-1.xmlhttps://test.alshifahospital.pk/wp-sitemap-users-1.xml