﻿var SAVE_RTE2_IsStyleAllowed = RTE2_IsStyleAllowed;

RTE2_IsStyleAllowed = function(styleName, validationContext) {
    if (styleName == "Heading 1") {
        return false;
    }
    if (RTE2_IsStyleAllowed == SAVE_RTE2_IsStyleAllowed) {
        alert('poin2');
    }
    else {
        return SAVE_RTE2_IsStyleAllowed(styleName, validationContext);
    }
}


