File: /storage/v6964/testingff/public_html/fdfctr/wp-content/plugins/quiz-cat/includes/wysi/wysi.min.js
function detectIE(){var t=window.navigator.userAgent;if(t.indexOf("MSIE ")>0)return!0;return t.indexOf("Trident/")>0||!(!document.documentMode&&!/Edge/.test(navigator.userAgent))}function fca_attach_wysiwyg(){var t=jQuery;usingIE?t(".fca-wysiwyg-html").not(".editorActive").each(function(i,e){t(e).addClass("editorActive"),t(e).siblings(".fca-wysiwyg-group").hide()}):(t(".fca-wysiwyg-view-html").unbind("click"),t(".fca-wysiwyg-view-html").click(function(){t(this).siblings(".fca-wysiwyg-group").toggle()}),t(".fca-wysiwyg-html.editorActive").each(function(i,e){t(this).data("wysihtml5").destroy(),t(this).removeClass("editorActive")}),t(".fca-wysiwyg-html").not(".editorActive").each(function(i,e){var s=new wysihtml5.Editor(e,{toolbar:t(e).siblings(".fca-wysiwyg-nav")[0],parserRules:wysihtmlParserRules,stylesheets:[fcaQcAdminData.stylesheet],useLineBreaks:!1});t(e).data("wysihtml5",s).addClass("editorActive"),s.on("load",function(){t(e).siblings(".fca-wysiwyg-nav").find(".fca-wysiwyg-view-html").click().click()})}))}jQuery(document).ready(function(t){fca_attach_wysiwyg()});var usingIE=detectIE(),wysihtmlParserRules={classes:{"wysiwyg-text-align-center":1,"wysiwyg-text-align-left":1,"wysiwyg-text-align-right":1},attributes:{style:"any",class:"any","data-*":"any",target:"any",rel:"any"},tags:{strong:1,b:1,i:1,u:1,div:1,span:1,ul:1,li:1,ol:1,p:1,br:1,a:{check_attributes:{href:"url"}},img:{check_attributes:{alt:"alt",src:"url"}},iframe:{check_attributes:{src:"url",width:"numbers",height:"numbers",frameborder:"numbers"}}}};