Berita

113 mangsa tragedi kepala air Gunung Jerai terima sumbangan fasa- 4

OLEH SARINA ISMAIL

GURUN, 12 SEPT –Seramai 113 mangsa tragedi kepala air Gunung Jerai di sekitar Gurun menerima sumbangan fasa ke 4, di Dewan Cina, Gurun, semalam.

Ketua Dewan Muslimat PAS Kedah, Dato’ Ustazah Siti Ashah Ghazali berkata, sumbangan dari PAS Kedah itu sebagai tanda simpati kepada semua mangsa yang terlibat.

“Saya mewakili PAS Kedah merakamkan rasa dukacita dan simpati atas apa yang menimpa tuan puan semua namun dalam masa yang sama kami berharapkan agar dapat bersabar dengan ujian Allah ini,” kata beliau dalam ucapan aluannya semalam.

Menurutnya lagi, penduduk yang ditimpa musibah tidak keseorangan sebaliknya dibantu oleh semua rakyat Malaysia yang begitu prihatian dengan kejadian ini.

PAS Kedah juga katanya tidak ketinggalan bersama-sama mengumpul dana untuk disumbangkan kepada mangsa yang terlibat meringankan bebanan yang ditanggung.

“Kita benar-benar seperti satu keluarga iaitu Keluarga Malaysia. Bantu membantu tanpa mengira fahaman politik, bangsa dan agama. Tanpa mengira miskin ataupun kaya,” katanya lagi.

Beliau yang juga Exco kerajaan negeri berkata, pihak kerajaan juga berusaha membantu sedaya upaya sama ada melalui peruntukan Kerajaan Persekutuan dalam pelbagai aspek.

Ekoran itu, sempena lawatan Menteri Pembangunan Luar Bandar, Dato’ Seri Mahdzir Khalid baru-baru ini, sebanyak RM38 juta diluluskan untuk baik pulih pasarana berkaitan yang rosak dan musnah akibat kejadian 18 Ogos lalu.

Kesempatan itu, Ashah tidak lupa merakamkan jutaan terima kasih kepada semua pihak yang bertungkus lumus membantu sama ada sumbangan wang ringgit, kebendaan mahupun tenaga.

Tragedi trajis 18 Ogos lalu telah mengakibatkan kira-kira 1,500 premis kediaman,kedai, sekolah, masjid dan surau di dua daerah Yan dan Merbok dilanda banjir.

Manakala rempuhan air itu juga telah mengakibatkan beberapa chalet dan kawasan rekreasi sekitar Titi Hayun musnah dan rosak serta mengorbankan enam mangsa.

Dato’ Ashah bersama beberapa jawatankuasa harian Dewan Muslimat PAS Kedah dan Dewan Muslimat PAS Kawasan Jerai turut menziarahi tiga orang balu kejadian terbabit.

SOURCEPenerangan PAS Kedah

  • TAGS
  • #KeluargaMalaysia
  • Dewan Muslimat PAS Kedah
  • TragediKepalaAir

SHAREFacebookTwitter

  • tweet!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=”//web.archive.org/web/20250712061155/https://platform.twitter.com/widgets.js”;fjs.parentNode.insertBefore(js,fjs);}}(document,”script”,”twitter-wjs”);

Previous articleLebih 93 ribu remaja Terengganu layak divaksinNext articleKegagalan kerajaan PH Selangor makin terserlah – Setiausaha BPPN Selangorberitavar block_td_uid_3_6871fca9c4e5f = new tdBlock();
block_td_uid_3_6871fca9c4e5f.id = “td_uid_3_6871fca9c4e5f”;
block_td_uid_3_6871fca9c4e5f.atts = ‘{“limit”:3,”sort”:””,”post_ids”:””,”tag_slug”:””,”autors_id”:””,”installed_post_types”:””,”category_id”:””,”category_ids”:””,”custom_title”:””,”custom_url”:””,”show_child_cat”:””,”sub_cat_ajax”:””,”ajax_pagination”:”next_prev”,”header_color”:””,”header_text_color”:””,”ajax_pagination_infinite_stop”:””,”td_column_number”:3,”td_ajax_preloading”:””,”td_ajax_filter_type”:”td_custom_related”,”td_ajax_filter_ids”:””,”td_filter_default_txt”:”All”,”color_preset”:””,”border_top”:””,”class”:”td_uid_3_6871fca9c4e5f_rand”,”el_class”:””,”offset”:””,”css”:””,”tdc_css”:””,”tdc_css_class”:”td_uid_3_6871fca9c4e5f_rand”,”tdc_css_class_style”:”td_uid_3_6871fca9c4e5f_rand_style”,”live_filter”:”cur_post_same_categories”,”live_filter_cur_post_id”:239456,”live_filter_cur_post_author”:”134″,”block_template_id”:””}’;
block_td_uid_3_6871fca9c4e5f.td_column_number = “3”;
block_td_uid_3_6871fca9c4e5f.block_type = “td_block_related_posts”;
block_td_uid_3_6871fca9c4e5f.post_count = “3”;
block_td_uid_3_6871fca9c4e5f.found_posts = “1351”;
block_td_uid_3_6871fca9c4e5f.header_color = “”;
block_td_uid_3_6871fca9c4e5f.ajax_pagination_infinite_stop = “”;
block_td_uid_3_6871fca9c4e5f.max_num_pages = “451”;
tdBlocksArray.push(block_td_uid_3_6871fca9c4e5f);RELATED ARTICLESMORE FROM AUTHORBerita PAS Kedah

3,708 mohon keahlian baru PAS di Kedah

Berita PAS Kedah

PAS Kedah lancar Kempen Dana PRU PRU-16

Berita PAS Kedah

PAS Kedah realisasikan pembinaan pusat latihan PAS Kedah

– Advertisement -.td_uid_8_6871fca9d5321_rand .td_module_wrap:hover .entry-title a,
.td_uid_8_6871fca9d5321_rand .td-load-more-wrap a:hover,
.td_uid_8_6871fca9d5321_rand .td_quote_on_blocks,
.td_uid_8_6871fca9d5321_rand .td-wrapper-pulldown-filter .td-pulldown-filter-display-option:hover,
.td_uid_8_6871fca9d5321_rand .td-wrapper-pulldown-filter a.td-pulldown-filter-link:hover,
.td_uid_8_6871fca9d5321_rand .td-instagram-user a {
color: #329e42;
}

.td_uid_8_6871fca9d5321_rand .td-next-prev-wrap a:hover i {
background-color: #329e42;
border-color: #329e42;
}

.td_uid_8_6871fca9d5321_rand .td_module_wrap .td-post-category:hover,
.td_uid_8_6871fca9d5321_rand .td-trending-now-title,
.td_uid_8_6871fca9d5321_rand .block-title span,
.td_uid_8_6871fca9d5321_rand .td-weather-information:before,
.td_uid_8_6871fca9d5321_rand .td-weather-week:before,
.td_uid_8_6871fca9d5321_rand .td-exchange-header:before,
.td_uid_8_6871fca9d5321_rand .block-title a {
background-color: #329e42;
}

.td_uid_8_6871fca9d5321_rand .td-trending-now-title,
body .td_uid_8_6871fca9d5321_rand .block-title span,
body .td_uid_8_6871fca9d5321_rand .block-title a {
color: #1a1a1afff;
}var block_td_uid_8_6871fca9d5321 = new tdBlock();
block_td_uid_8_6871fca9d5321.id = “td_uid_8_6871fca9d5321”;
block_td_uid_8_6871fca9d5321.atts = ‘{“limit”:”4″,”sort”:””,”post_ids”:””,”tag_slug”:””,”autors_id”:””,”installed_post_types”:””,”category_id”:””,”category_ids”:””,”custom_title”:”Terkini”,”custom_url”:””,”show_child_cat”:””,”sub_cat_ajax”:””,”ajax_pagination”:”next_prev”,”header_color”:”#329e42″,”header_text_color”:”#ffffff”,”ajax_pagination_infinite_stop”:””,”td_column_number”:1,”td_ajax_preloading”:””,”td_ajax_filter_type”:””,”td_ajax_filter_ids”:””,”td_filter_default_txt”:”All”,”color_preset”:””,”border_top”:””,”class”:”td_block_widget td_uid_8_6871fca9d5321_rand”,”el_class”:””,”offset”:””,”css”:””,”tdc_css”:””,”tdc_css_class”:”td_uid_8_6871fca9d5321_rand”,”tdc_css_class_style”:”td_uid_8_6871fca9d5321_rand_style”,”live_filter”:””,”live_filter_cur_post_id”:””,”live_filter_cur_post_author”:””,”block_template_id”:””}’;
block_td_uid_8_6871fca9d5321.td_column_number = “1”;
block_td_uid_8_6871fca9d5321.block_type = “td_block_9”;
block_td_uid_8_6871fca9d5321.post_count = “4”;
block_td_uid_8_6871fca9d5321.found_posts = “26921”;
block_td_uid_8_6871fca9d5321.header_color = “#329e42”;
block_td_uid_8_6871fca9d5321.ajax_pagination_infinite_stop = “”;
block_td_uid_8_6871fca9d5321.max_num_pages = “6731”;
tdBlocksArray.push(block_td_uid_8_6871fca9d5321);Terkini

Kenaikan Tarif 25% Amerika Syarikat Bukti Kegagalan PMX

10/07/2025

Konvoi Bantuan Jordan Pertama Memasuki Gaza Utara

10/07/2025

Ziarah Tanda Prihatin Dan Sokongan

10/07/2025

Pelihara Keyakinan Rakyat Tehadap Institusi Kehakiman

10/07/2025Copyright © 2021 PAS Pusat. All Rights Reserved. Dibangunkan oleh Jabatan IT PAS Pusat dan diselenggara oleh Team CPP PAS Malaysia. Pejabat Agung PAS Pusat, No. 318-A, Jalan Raja Laut, 50350 Kuala Lumpur. Tel 03-26925000. Fax 03-26938399. www.pas.org.myvar eio_lazy_vars = {“exactdn_domain”:””,”skip_autoscale”:0,”threshold”:0};jQuery().ready(function jQuery_ready() {
tdAjaxCount.tdGetViewsCountsAjax(“post”,”[239456]”);
});

(function(){
var html_jquery_obj = jQuery(‘html’);

if (html_jquery_obj.length && (html_jquery_obj.is(‘.ie8’) || html_jquery_obj.is(‘.ie9’))) {

var path = ‘https://berita.pas.org.my/wp-content/themes/Newsmag/style.css’;

jQuery.get(path, function(data) {

var str_split_separator = ‘#td_css_split_separator’;
var arr_splits = data.split(str_split_separator);
var arr_length = arr_splits.length;

if (arr_length > 1) {

var dir_path = ‘https://berita.pas.org.my/wp-content/themes/Newsmag’;
var splited_css = ”;

for (var i = 0; i 0) {
arr_splits[i] = str_split_separator + ‘ ‘ + arr_splits[i];
}
//jQuery(‘head’).append(” + arr_splits[i] + ”);

var formated_str = arr_splits[i].replace(/surl(‘(?!data:)/gi, function regex_function(str) {
return ‘ url(” + dir_path + ‘/’ + str.replace(/url(‘/gi, ”).replace(/^s+|s+$/gm,”);
});

splited_css += “” + formated_str + “”;
}

var td_theme_css = jQuery(‘link#td-theme-css’);

if (td_theme_css.length) {
td_theme_css.after(splited_css);
}
}
});
}
})();.td-header-border:before,
.td-trending-now-title,
.td_block_mega_menu .td_mega_menu_sub_cats .cur-sub-cat,
.td-post-category:hover,
.td-header-style-2 .td-header-sp-logo,
.td-next-prev-wrap a:hover i,
.page-nav .current,
.widget_calendar tfoot a:hover,
.td-footer-container .widget_search .wpb_button:hover,
.td-scroll-up-visible,
.dropcap,
.td-category a,
input[type=”submit”]:hover,
.td-post-small-box a:hover,
.td-404-sub-sub-title a:hover,
.td-rating-bar-wrap div,
.td_top_authors .td-active .td-author-post-count,
.td_top_authors .td-active .td-author-comments-count,
.td_smart_list_3 .td-sml3-top-controls i:hover,
.td_smart_list_3 .td-sml3-bottom-controls i:hover,
.td_wrapper_video_playlist .td_video_controls_playlist_wrapper,
.td-read-more a:hover,
.td-login-wrap .btn,
.td_display_err,
.td-header-style-6 .td-top-menu-full,
#bbpress-forums button:hover,
#bbpress-forums .bbp-pagination .current,
.bbp_widget_login .button:hover,
.header-search-wrap .td-drop-down-search .btn:hover,
.td-post-text-content .more-link-wrap:hover a,
#buddypress div.item-list-tabs ul li > a span,
#buddypress div.item-list-tabs ul li > a:hover span,
#buddypress input[type=submit]:hover,
#buddypress a.button:hover span,
#buddypress div.item-list-tabs ul li.selected a span,
#buddypress div.item-list-tabs ul li.current a span,
#buddypress input[type=submit]:focus,
.td-grid-style-3 .td-big-grid-post .td-module-thumb a:last-child:before,
.td-grid-style-4 .td-big-grid-post .td-module-thumb a:last-child:before,
.td-grid-style-5 .td-big-grid-post .td-module-thumb:after,
.td_category_template_2 .td-category-siblings .td-category a:hover,
.td-weather-week:before,
.td-weather-information:before,
.td_3D_btn,
.td_shadow_btn,
.td_default_btn,
.td_square_btn,
.td_outlined_btn:hover {
background-color: #329e42;
}

@media (max-width: 767px) {
.td-category a.td-current-sub-category {
background-color: #329e42;
}
}

.woocommerce .onsale,
.woocommerce .woocommerce a.button:hover,
.woocommerce-page .woocommerce .button:hover,
.single-product .product .summary .cart .button:hover,
.woocommerce .woocommerce .product a.button:hover,
.woocommerce .product a.button:hover,
.woocommerce .product #respond input#submit:hover,
.woocommerce .checkout input#place_order:hover,
.woocommerce .woocommerce.widget .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce.widget .ui-slider .ui-slider-handle,
.vc_btn-black:hover,
.wpb_btn-black:hover,
.item-list-tabs .feed:hover a,
.td-smart-list-button:hover {
background-color: #329e42 !important;
}

.td-header-sp-top-menu .top-header-menu > .current-menu-item > a,
.td-header-sp-top-menu .top-header-menu > .current-menu-ancestor > a,
.td-header-sp-top-menu .top-header-menu > .current-category-ancestor > a,
.td-header-sp-top-menu .top-header-menu > li > a:hover,
.td-header-sp-top-menu .top-header-menu > .sfHover > a,
.top-header-menu ul .current-menu-item > a,
.top-header-menu ul .current-menu-ancestor > a,
.top-header-menu ul .current-category-ancestor > a,
.top-header-menu ul li > a:hover,
.top-header-menu ul .sfHover > a,
.sf-menu ul .td-menu-item > a:hover,
.sf-menu ul .sfHover > a,
.sf-menu ul .current-menu-ancestor > a,
.sf-menu ul .current-category-ancestor > a,
.sf-menu ul .current-menu-item > a,
.td_module_wrap:hover .entry-title a,
.td_mod_mega_menu:hover .entry-title a,
.footer-email-wrap a,
.widget a:hover,
.td-footer-container .widget_calendar #today,
.td-category-pulldown-filter a.td-pulldown-category-filter-link:hover,
.td-load-more-wrap a:hover,
.td-post-next-prev-content a:hover,
.td-author-name a:hover,
.td-author-url a:hover,
.td_mod_related_posts:hover .entry-title a,
.td-search-query,
.header-search-wrap .td-drop-down-search .result-msg a:hover,
.td_top_authors .td-active .td-authors-name a,
.post blockquote p,
.td-post-content blockquote p,
.page blockquote p,
.comment-list cite a:hover,
.comment-list cite:hover,
.comment-list .comment-reply-link:hover,
a,
.white-menu #td-header-menu .sf-menu > li > a:hover,
.white-menu #td-header-menu .sf-menu > .current-menu-ancestor > a,
.white-menu #td-header-menu .sf-menu > .current-menu-item > a,
.td_quote_on_blocks,
#bbpress-forums .bbp-forum-freshness a:hover,
#bbpress-forums .bbp-topic-freshness a:hover,
#bbpress-forums .bbp-forums-list li a:hover,
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover,
#bbpress-forums .bbp-topic-started-by a:hover,
#bbpress-forums .bbp-topic-started-in a:hover,
#bbpress-forums .bbp-body .super-sticky li.bbp-topic-title .bbp-topic-permalink,
#bbpress-forums .bbp-body .sticky li.bbp-topic-title .bbp-topic-permalink,
#bbpress-forums #subscription-toggle a:hover,
#bbpress-forums #favorite-toggle a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.widget_display_replies .bbp-author-name,
.widget_display_topics .bbp-author-name,
.archive .widget_archive .current,
.archive .widget_archive .current a,
.td-subcategory-header .td-category-siblings .td-subcat-dropdown a.td-current-sub-category,
.td-subcategory-header .td-category-siblings .td-subcat-dropdown a:hover,
.td-pulldown-filter-display-option:hover,
.td-pulldown-filter-display-option .td-pulldown-filter-link:hover,
.td_normal_slide .td-wrapper-pulldown-filter .td-pulldown-filter-list a:hover,
#buddypress ul.item-list li div.item-title a:hover,
.td_block_13 .td-pulldown-filter-list a:hover,
.td_smart_list_8 .td-smart-list-dropdown-wrap .td-smart-list-button:hover,
.td_smart_list_8 .td-smart-list-dropdown-wrap .td-smart-list-button:hover i,
.td-sub-footer-container a:hover,
.td-instagram-user a,
.td_outlined_btn {
color: #329e42;
}

.td-mega-menu .wpb_content_element li a:hover,
.td_login_tab_focus {
color: #329e42 !important;
}

.td-next-prev-wrap a:hover i,
.page-nav .current,
.widget_tag_cloud a:hover,
.post .td_quote_box,
.page .td_quote_box,
.td-login-panel-title,
#bbpress-forums .bbp-pagination .current,
.td_category_template_2 .td-category-siblings .td-category a:hover,
.page-template-page-pagebuilder-latest .td-instagram-user,
.td_outlined_btn {
border-color: #329e42;
}

.td_wrapper_video_playlist .td_video_currently_playing:after,
.item-list-tabs .feed:hover {
border-color: #329e42 !important;
}

.td-pb-row [class*=”td-pb-span”],
.td-pb-border-top,
.page-template-page-title-sidebar-php .td-page-content > .wpb_row:first-child,
.td-post-sharing,
.td-post-content,
.td-post-next-prev,
.author-box-wrap,
.td-comments-title-wrap,
.comment-list,
.comment-respond,
.td-post-template-5 header,
.td-container,
.wpb_content_element,
.wpb_column,
.wpb_row,
.white-menu .td-header-container .td-header-main-menu,
.td-post-template-1 .td-post-content,
.td-post-template-4 .td-post-sharing-top,
.td-header-style-6 .td-header-header .td-make-full,
#disqus_thread,
.page-template-page-pagebuilder-title-php .td-page-content > .wpb_row:first-child,
.td-footer-container:before {
border-color: #e6e6e6;
}
.td-top-border {
border-color: #e6e6e6 !important;
}
.td-container-border:after,
.td-next-prev-separator,
.td-container .td-pb-row .wpb_column:before,
.td-container-border:before,
.td-main-content:before,
.td-main-sidebar:before,
.td-pb-row .td-pb-span4:nth-of-type(3):after,
.td-pb-row .td-pb-span4:nth-last-of-type(3):after {
background-color: #e6e6e6;
}
@media (max-width: 767px) {
.white-menu .td-header-main-menu {
border-color: #e6e6e6;
}
}

.td-header-top-menu,
.td-header-wrap .td-top-menu-full {
background-color: #329e42;
}

.td-header-style-1 .td-header-top-menu,
.td-header-style-2 .td-top-bar-container,
.td-header-style-7 .td-header-top-menu {
padding: 0 12px;
top: 0;
}

.top-header-menu > .current-menu-item > a,
.top-header-menu > .current-menu-ancestor > a,
.top-header-menu > .current-category-ancestor > a,
.top-header-menu > li > a:hover,
.top-header-menu > .sfHover > a {
color: #1a1a1afff !important;
}

.td-header-main-menu {
background-color: #329e42;
}

.td-menu-background:before,
.td-search-background:before {
background: rgba(0,0,0,0.5);
background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.5)), color-stop(100%, rgba(0,0,0,0.6)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%, @mobileu_gradient_two_mob 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’rgba(0,0,0,0.5)’, endColorstr=’rgba(0,0,0,0.6)’, GradientType=0 );
}

.td-menu-background:after,
.td-search-background:after {
background-image: url(‘https://berita.pas.org.my/wp-content/uploads/2017/08/image2-198×300.jpg’);
}

.white-popup-block:before {
background-image: url(‘https://berita.pas.org.my/wp-content/uploads/2017/08/p4.jpg’);
}

.block-title > span,
.block-title > a,
.widgettitle,
.td-trending-now-title,
.wpb_tabs li a,
.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab > a,
.td-related-title .td-related-left,
.td-related-title .td-related-right,
.category .entry-title span,
.td-author-counters span,
.woocommerce-tabs h2,
.woocommerce .product .products h2:not(.woocommerce-loop-product__title) {
font-size:13px;

}

.td-post-content p,
.td-post-content {
font-size:19px;
line-height:27px;

}

.td-footer-container::before {
background-image: url(‘https://berita.pas.org.my/wp-content/uploads/2017/08/imagefooter-300×164.jpg’);
}

.td-footer-container::before {
background-size: cover;
}

.td-footer-container::before {
opacity: 0.1;
}Edit with Live CSS(function(jQuery, undefined) {

jQuery(window).ready(function() {

if ( ‘undefined’ !== typeof tdcAdminIFrameUI ) {
var $liveIframe = tdcAdminIFrameUI.getLiveIframe();

if ( $liveIframe.length ) {
$liveIframe.load(function() {
$liveIframe.contents().find( ‘body’).append( ‘‘ );
});
}
}

});

})(jQuery);jQuery(window).load(function (){

if ( ‘undefined’ !== typeof tdLiveCssInject ) {

tdLiveCssInject.init();

var editor_textarea = jQuery(‘.td_live_css_uid_1_6871fcaa5ff70’);
var languageTools = ace.require(“ace/ext/language_tools”);
var tdcCompleter = {
getCompletions: function (editor, session, pos, prefix, callback) {
if (prefix.length === 0) {
callback(null, []);
return
}

if (‘undefined’ !== typeof tdcAdminIFrameUI) {

var data = {
error: undefined,
getShortcode: ”
};

tdcIFrameData.getShortcodeFromData(data);

if (!_.isUndefined(data.error)) {
tdcDebug.log(data.error);
}

if (!_.isUndefined(data.getShortcode)) {

var regex = /el_class=”([A-Za-z0-9_-]*s*)+”/g,
results = data.getShortcode.match(regex);

var elClasses = {};

for (var i = 0; i < results.length; i++) {
var currentClasses = results[i]
.replace('el_class="', '')
.replace('"', '')
.split(' ');

for (var j = 0; j < currentClasses.length; j++) {
if (_.isUndefined(elClasses[currentClasses[j]])) {
elClasses[currentClasses[j]] = '';
}
}
}

var arrElClasses = [];

for (var prop in elClasses) {
arrElClasses.push(prop);
}

callback(null, arrElClasses.map(function (item) {
return {
name: item,
value: item,
meta: 'in_page'
}
}));
}
}
}
};
languageTools.addCompleter(tdcCompleter);

window.editor = ace.edit("td_live_css_uid_1_6871fcaa5ff70");

// 'change' handler is written as function because it's called by tdc_on_add_css_live_components (of wp_footer hook)
// We did it to reattach the existing compiled css to the new content received from server.
window.editorChangeHandler = function () {
//tdwState.lessWasEdited = true;

window.onbeforeunload = function () {
if (tdwState.lessWasEdited) {
return "You have attempted to leave this page. Are you sure?";
}
return false;
};

var editorValue = editor.getSession().getValue();

editor_textarea.val(editorValue);

if ('undefined' !== typeof tdcAdminIFrameUI) {
tdcAdminIFrameUI.getLiveIframe().contents().find('.tdw-css-writer-editor:first').val(editorValue);

// Mark the content as modified
// This is important for showing info when composer closes
tdcMain.setContentModified();
}

tdLiveCssInject.less();
};

editor.getSession().setValue(editor_textarea.val());
editor.getSession().on('change', editorChangeHandler);

editor.setTheme("ace/theme/textmate");
editor.setShowPrintMargin(false);
editor.getSession().setMode("ace/mode/less");
editor.setOptions({
enableBasicAutocompletion: true,
enableSnippets: true,
enableLiveAutocompletion: false
});

}

});SaveWrite CSS OR LESS and hit save. CTRL + SPACE for auto-complete.

Leave a Reply

Your email address will not be published. Required fields are marked *

📱 📘 🐦 ✈️