Files
easystream-main/f_scripts/fe/js/min/tinymce.init.min.js
SamiAhmed7777 0b7e2d0a5b feat: Add comprehensive documentation suite and reorganize project structure
- Created complete documentation in docs/ directory
- Added PROJECT_OVERVIEW.md with feature highlights and getting started guide
- Added ARCHITECTURE.md with system design and technical details
- Added SECURITY.md with comprehensive security implementation guide
- Added DEVELOPMENT.md with development workflows and best practices
- Added DEPLOYMENT.md with production deployment instructions
- Added API.md with complete REST API documentation
- Added CONTRIBUTING.md with contribution guidelines
- Added CHANGELOG.md with version history and migration notes
- Reorganized all documentation files into docs/ directory for better organization
- Updated README.md with proper documentation links and quick navigation
- Enhanced project structure with professional documentation standards
2025-10-21 00:39:45 -07:00

1 line
3.3 KiB
JavaScript

tinymce.init({selector:".h-editable",inline:true,toolbar:"undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent",menubar:false});tinymce.init({selector:".d-editable",menu:{file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},newmenu:{title:"Uploads",items:"insertlive insertvideo insertshort insertimage insertaudio insertdoc"},tools:{title:"View",items:"visualblocks code"}},menubar:"file edit format tools newmenu",inline:true,plugins:["advlist autolink lists link image charmap anchor","searchreplace visualblocks code fullscreen","insertdatetime media table contextmenu paste","textcolor colorpicker"],toolbar:"undo redo | styleselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | outdent indent | bullist numlist | link",setup:function(e){if(typeof lm!="undefined"){e.addMenuItem("insertlive",{text:"Insert Broadcast",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=live";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof vm!="undefined"){e.addMenuItem("insertvideo",{text:"Insert Video",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=video";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof sm!="undefined"){e.addMenuItem("insertshort",{text:"Insert Short",icon:"media",context:"newmenu",onclick:function(){url=_u+"&do=insert&t=short";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof im!="undefined"){e.addMenuItem("insertimage",{text:"Insert Picture",icon:"image",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=image";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof am!="undefined"){e.addMenuItem("insertaudio",{text:"Insert Audio",icon:"media",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=audio";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}if(typeof dm!="undefined"){e.addMenuItem("insertdoc",{text:"Insert Document",icon:"books",content:"newmenu",onclick:function(){url=_u+"&do=insert&t=doc";$.fancybox({type:"ajax",margin:50,minWidth:"50%",href:url,height:"auto",autoHeight:"true",autoResize:"true",autoCenter:"true"})}})}}});(function(){[].slice.call(document.querySelectorAll(".tabs")).forEach(function(e){new CBPFWTabs(e)})})();function oldSafariCSSfix(){if(isOldSafari()){var e=4;var t=jQuery("#siteContent").width()-32;jQuery("#div-share nav ul li").width(t/e-1).css("float","left");jQuery(".tabs nav").css("width",t+1)}}$(document).ready(function(){$(document).on("click",".tabs ul:not(.fileThumbs) li",function(){if($(this).find("a").attr("href")=="#section-thumb"){$(".save-entry-button").hide()}else{$(".save-entry-button").show()}})});jQuery(window).load(function(){oldSafariCSSfix()});jQuery(window).resize(function(){oldSafariCSSfix()});