网站的功能包括哪些包头做网站企业

张小明 2026/1/11 20:59:30
网站的功能包括哪些,包头做网站企业,有赞分销商城,常州做企业网站的公司tinymce 5.0 粘贴word带图片 业务需求 在现有tinymce编辑器的基础上增加复制ctrlc复制图片和ctrlv粘贴图片并上传到服务器的功能#xff0c;需要支持信创国产化环境#xff0c;因为是给一个国企单位做的项目#xff0c;现在有这个要求。 技术栈 vue2jstinymce 5.0 业务…tinymce 5.0 粘贴word带图片业务需求在现有tinymce编辑器的基础上增加复制ctrlc复制图片和ctrlv粘贴图片并上传到服务器的功能需要支持信创国产化环境因为是给一个国企单位做的项目现在有这个要求。技术栈vue2jstinymce 5.0业务实现之前的逻辑是将tinymce放到public下面。//初始化增加配置{paste_data_images:true,//允许粘贴图片images_upload_handler:(blobInfo,success,failure,progress){//blobInfo:粘贴的图片的blob//succuss上传完成调用//failure上传失败调用this.handleImgUpload(blobInfo,success,failure,progress)}}发现问题从微信、本地、word纯图片复制都可以回显但是word复制图文混合就不行。问题原因原因是word图文混合里面的img标签src都是以file://开头的本地地址解决问题tinymce有付费软件powerpaste自己写 参考了以下两个tinymce6的帖子用的是tinymce5 所以参考第二篇文章的回答改造一下现有的paste插件只是改造了一下还是要用安装原来的插件的改造思路1.官方自带的 paste 已经自带过滤器但是过滤了img-修改自带的过滤器尝试过完全放弃自带的过滤取消paste_enabled_default_filter 但是word中的无效元素太多了,自建过滤器在在网上抄了很多还不如原来的)2. paste_preprocess - 粘贴内容插入编辑器之前的钩子。在这里提取图片并将图片上传到服务器再将粘贴内容插入到编辑器中。处理粘贴插件tinymce5 粘贴插件用的是ts从网上下了一份js的。也能将就着用尝试用第一个文章中的过滤器但是不知道为什么过滤之后还是有很多无效元素看了paste源码发现自带的过滤器实现已经很好了所以在原来的过滤上做改造。本步骤主要做了两件事删除自带过滤器中对图片的过滤过滤rtf中word适配低版本ie的vml标签以免在后面从rtf中正则切割有问题paste.js/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.10.3 (2022-02-09) */(function(){use strict;varCellfunction(initial){varvalueinitial;vargetfunction(){returnvalue;};varsetfunction(v){valuev;};return{get:get,set:set,};};varglobal$btinymce.util.Tools.resolve(tinymce.PluginManager);varhasProPluginfunction(editor){if(editor.hasPlugin(powerpaste,true)){if(typeofwindow.console!undefinedwindow.console.log){window.console.log(PowerPaste is incompatible with Paste plugin! Remove paste from the plugins option.);}returntrue;}else{returnfalse;}};vargetfunction(clipboard){return{clipboard:clipboard};};vartypeOffunction(x){varttypeofx;if(xnull){returnnull;}elseif(tobject(Array.prototype.isPrototypeOf(x)||(x.constructorx.constructor.nameArray))){returnarray;}elseif(tobject(String.prototype.isPrototypeOf(x)||(x.constructorx.constructor.nameString))){returnstring;}else{returnt;}};varisTypefunction(type){returnfunction(value){returntypeOf(value)type;};};varisSimpleTypefunction(type){returnfunction(value){returntypeofvaluetype;};};varisArrayisType(array);varisNullablefunction(a){returnanull||aundefined;};varisNonNullablefunction(a){return!isNullable(a);};varisFunctionisSimpleType(function);varnoopfunction(){};varconstantfunction(value){returnfunction(){returnvalue;};};varidentityfunction(x){returnx;};varneverconstant(false);varalwaysconstant(true);varnonefunction(){returnNONE;};varNONE(function(){varcallfunction(thunk){returnthunk();};varididentity;varme{fold:function(n,_s){returnn();},isSome:never,isNone:always,getOr:id,getOrThunk:call,getOrDie:function(msg){thrownewError(msg||error: getOrDie called on none.);},getOrNull:constant(null),getOrUndefined:constant(undefined),or:id,orThunk:call,map:none,each:noop,bind:none,exists:never,forall:always,filter:function(){returnnone();},toArray:function(){return[];},toString:constant(none()),};returnme;})();varsomefunction(a){varconstant_aconstant(a);varselffunction(){returnme;};varbindfunction(f){returnf(a);};varme{fold:function(n,s){returns(a);},isSome:always,isNone:never,getOr:constant_a,getOrThunk:constant_a,getOrDie:constant_a,getOrNull:constant_a,getOrUndefined:constant_a,or:self,orThunk:self,map:function(f){returnsome(f(a));},each:function(f){f(a);},bind:bind,exists:bind,forall:bind,filter:function(f){returnf(a)?me:NONE;},toArray:function(){return[a];},toString:function(){returnsome(a);},};returnme;};varfrom$1function(value){returnvaluenull||valueundefined?NONE:some(value);};varOptional{some:some,none:none,from:from$1,};varnativeSliceArray.prototype.slice;varnativePushArray.prototype.push;varexistsfunction(xs,pred){for(vari0,lenxs.length;ilen;i){varxxs[i];if(pred(x,i)){returntrue;}}returnfalse;};varmapfunction(xs,f){varlenxs.length;varrnewArray(len);for(vari0;ilen;i){varxxs[i];r[i]f(x,i);}returnr;};vareachfunction(xs,f){for(vari0,lenxs.length;ilen;i){varxxs[i];f(x,i);}};varfilter$1function(xs,pred){varr[];for(vari0,lenxs.length;ilen;i){varxxs[i];if(pred(x,i)){r.push(x);}}returnr;};varfoldlfunction(xs,f,acc){each(xs,function(x,i){accf(acc,x,i);});returnacc;};varflattenfunction(xs){varr[];for(vari0,lenxs.length;ilen;i){if(!isArray(xs[i])){thrownewError(Arr.flatten item i was not an array, input: xs);}nativePush.apply(r,xs[i]);}returnr;};varbindfunction(xs,f){returnflatten(map(xs,f));};varfromisFunction(Array.from)?Array.from:function(x){returnnativeSlice.call(x);};var__assignfunction(){__assignObject.assign||function__assign(t){for(vars,i1,narguments.length;in;i){sarguments[i];for(varpins)if(Object.prototype.hasOwnProperty.call(s,p))t[p]s[p];}returnt;};return__assign.apply(this,arguments);};varsingletonfunction(doRevoke){varsubjectCell(Optional.none());varrevokefunction(){returnsubject.get().each(doRevoke);};varclearfunction(){revoke();subject.set(Optional.none());};varisSetfunction(){returnsubject.get().isSome();};vargetfunction(){returnsubject.get();};varsetfunction(s){revoke();subject.set(Optional.some(s));};return{clear:clear,isSet:isSet,get:get,set:set,};};varvaluefunction(){varsubjectsingleton(noop);varonfunction(f){returnsubject.get().each(f);};return__assign(__assign({},subject),{on:on});};varcheckRangefunction(str,substr,start){return(substr||(str.lengthsubstr.lengthstr.substr(start,startsubstr.length)substr));};varstartsWithfunction(str,prefix){returncheckRange(str,prefix,0);};varendsWithfunction(str,suffix){returncheckRange(str,suffix,str.length-suffix.length);};varrepeatfunction(s,count){returncount0?:newArray(count1).join(s);};varglobal$atinymce.util.Tools.resolve(tinymce.Env);varglobal$9tinymce.util.Tools.resolve(tinymce.util.Delay);varglobal$8tinymce.util.Tools.resolve(tinymce.util.Promise);varglobal$7tinymce.util.Tools.resolve(tinymce.util.VK);varfirePastePreProcessfunction(editor,html,internal,isWordHtml,event){returneditor.fire(PastePreProcess,{content:html,internal:internal,wordContent:isWordHtml,__event:event,});};varfirePastePostProcessfunction(editor,node,internal,isWordHtml){returneditor.fire(PastePostProcess,{node:node,internal:internal,wordContent:isWordHtml,});};varfirePastePlainTextTogglefunction(editor,state){returneditor.fire(PastePlainTextToggle,{state:state});};varfirePastefunction(editor,ieFake){returneditor.fire(paste,{ieFake:ieFake});};/** tinymce.util.Tools */varglobal$6tinymce.util.Tools.resolve(tinymce.util.Tools);varshouldBlockDropfunction(editor){returneditor.getParam(paste_block_drop,false);};varshouldPasteDataImagesfunction(editor){returneditor.getParam(paste_data_images,false);};varshouldFilterDropfunction(editor){returneditor.getParam(paste_filter_drop,true);};vargetPreProcessfunction(editor){returneditor.getParam(paste_preprocess);};vargetPostProcessfunction(editor){returneditor.getParam(paste_postprocess);};vargetWebkitStylesfunction(editor){returneditor.getParam(paste_webkit_styles);};varshouldRemoveWebKitStylesfunction(editor){returneditor.getParam(paste_remove_styles_if_webkit,true);};varshouldMergeFormatsfunction(editor){returneditor.getParam(paste_merge_formats,true);};varisSmartPasteEnabledfunction(editor){returneditor.getParam(smart_paste,true);};varisPasteAsTextEnabledfunction(editor){returneditor.getParam(paste_as_text,false);};vargetRetainStylePropsfunction(editor){returneditor.getParam(paste_retain_style_properties);};/** * 过滤word有效元素 * param {*} editor * returns */vargetWordValidElementsfunction(editor){vardefaultValidElements-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody;//从此处可以知道可以在paste_word_valid_elements配置过滤什么元素returneditor.getParam(paste_word_valid_elements,defaultValidElements);};varshouldConvertWordFakeListsfunction(editor){returneditor.getParam(paste_convert_word_fake_lists,true);};varshouldUseDefaultFiltersfunction(editor){returneditor.getParam(paste_enable_default_filters,true);};vargetValidatefunction(editor){returneditor.getParam(validate);};vargetAllowHtmlDataUrlsfunction(editor){returneditor.getParam(allow_html_data_urls,false,boolean);};vargetPasteDataImagesfunction(editor){returneditor.getParam(paste_data_images,false,boolean);};vargetImagesDataImgFilterfunction(editor){returneditor.getParam(images_dataimg_filter);};vargetImagesReuseFilenamefunction(editor){returneditor.getParam(images_reuse_filename);};vargetForcedRootBlockfunction(editor){returneditor.getParam(forced_root_block);};vargetForcedRootBlockAttrsfunction(editor){returneditor.getParam(forced_root_block_attrs);};vargetTabSpacesfunction(editor){returneditor.getParam(paste_tab_spaces,4,number);};vargetAllowedImageFileTypesfunction(editor){vardefaultImageFileTypesjpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp;returnglobal$6.explode(editor.getParam(images_file_types,defaultImageFileTypes,string));};varinternalMimeTypex-tinymce/html;varinternalMark;varmarkfunction(html){returninternalMarkhtml;};varunmarkfunction(html){returnhtml.replace(internalMark,);};varisMarkedfunction(html){returnhtml.indexOf(internalMark)!-1;};varinternalHtmlMimeconstant(internalMimeType);varhasOwnPropertyObject.hasOwnProperty;varhasfunction(obj,key){returnhasOwnProperty.call(obj,key);};varglobal$5tinymce.util.Tools.resolve(tinymce.html.Entities);varisPlainTextfunction(text){return!/(?:\/?(?!(?:div|p|br|span))\w|(?:(?!(?:span stylewhite-space:\s?pre;?)|br\s?\/))\w\s[^])/i.test(text);};vartoBRsfunction(text){returntext.replace(/\r?\n/g, );};varopenContainerfunction(rootTag,rootAttrs){varattrs[];vartagrootTag;if(typeofrootAttrsobject){for(varkeyinrootAttrs){if(has(rootAttrs,key)){attrs.push(keyglobal$5.encodeAllRaw(rootAttrs[key]));}}if(attrs.length){tag attrs.join( );}}returntag;};vartoBlockElementsfunction(text,rootTag,rootAttrs){varblockstext.split(/\n\n/);vartagOpenopenContainer(rootTag,rootAttrs);vartagClose;varparagraphsglobal$6.map(blocks,function(p){returnp.split(/\n/).join( );});varstitchfunction(p){returntagOpenptagClose;};returnparagraphs.length1?paragraphs[0]:global$6.map(paragraphs,stitch).join();};varconvertfunction(text,rootTag,rootAttrs){returnrootTag?toBlockElements(text,rootTagtrue?p:rootTag,rootAttrs):toBRs(text);};/** tinymce.html.DomParser */varglobal$4tinymce.util.Tools.resolve(tinymce.html.DomParser);/** tinymce.html.Serializer */varglobal$3tinymce.util.Tools.resolve(tinymce.html.Serializer);varnbsp\xA0;varglobal$2tinymce.util.Tools.resolve(tinymce.html.Node);varglobal$1tinymce.util.Tools.resolve(tinymce.html.Schema);varisRegExpfunction(val){returnval.constructorRegExp;};varfilterfunction(content,items){global$6.each(items,function(v){if(isRegExp(v)){contentcontent.replace(v,);}else{contentcontent.replace(v[0],v[1]);}});returncontent;};varinnerTextfunction(html){varschemaglobal$1();vardomParserglobal$4({},schema);vartext;varshortEndedElementsschema.getShortEndedElements();varignoreElementsglobal$6.makeMap(script noscript style textarea video audio iframe object, );varblockElementsschema.getBlockElements();varwalkfunction(node){varnamenode.name,currentNodenode;if(namebr){text\n;return;}if(namewbr){return;}if(shortEndedElements[name]){text ;}if(ignoreElements[name]){text ;return;}if(node.type3){textnode.value;}if(!node.shortEnded){if((nodenode.firstChild)){do{walk(node);}while((nodenode.next));}}if(blockElements[name]currentNode.next){text\n;if(namep){text\n;}}};htmlfilter(html,[//g]);walk(domParser.parse(html));returntext;};vartrimHtmlfunction(html){vartrimSpacesfunction(all,s1,s2){if(!s1!s2){return ;}returnnbsp;};htmlfilter(html,[/^[\s\S]*]*\s*|\s*\/body[^]*[\s\S]*$/gi,/|/g,[/( ?)\u00a0\/span( ?)/g,trimSpaces,],//g,/$/i,]);returnhtml;};varcreateIdGeneratorfunction(prefix){varcount0;returnfunction(){returnprefixcount;};};vargetImageMimeTypefunction(ext){varlowerExtext.toLowerCase();varmimeOverrides{jpg:jpeg,jpe:jpeg,jfi:jpeg,jif:jpeg,jfif:jpeg,pjpeg:jpeg,pjp:jpeg,svg:svgxml,};returnglobal$6.hasOwn(mimeOverrides,lowerExt)?image/mimeOverrides[lowerExt]:image/lowerExt;};varisWordContentfunction(content){return(/1){currentListNode.attr(start,start);}paragraphNode.wrap(currentListNode);}else{currentListNode.append(paragraphNode);}paragraphNode.nameli;if(levellastLevelprevListNode){prevListNode.lastChild.append(currentListNode);}lastLevellevel;removeIgnoredNodes(paragraphNode);trimListStart(paragraphNode,/^\u00a0/);trimListStart(paragraphNode,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w\.)/);trimListStart(paragraphNode,/^\u00a0/);};varelements[];varchildnode.firstChild;while(typeofchild!undefinedchild!null){elements.push(child);childchild.walk();if(child!null){while(typeofchild!undefinedchild.parent!node){childchild.walk();}}}for(vari0;ielements.length;i){nodeelements[i];if(node.namepnode.firstChild){varnodeTextgetText(node);if(isBulletList(nodeText)){convertParagraphToLi(node,ul);continue;}if(isNumericList(nodeText)){varmatches/([0-9])\./.exec(nodeText);varstart1;if(matches){startparseInt(matches[1],10);}convertParagraphToLi(node,ol,start);continue;}if(node._listLevel){convertParagraphToLi(node,ul,1);continue;}currentListNodenull;}else{prevListNodecurrentListNode;currentListNodenull;}}};varfilterStylesfunction(editor,validStyles,node,styleValue){varoutputStyles{};varstyleseditor.dom.parseStyle(styleValue);global$6.each(styles,function(value,name){switch(name){casemso-list:varmatches/\w \w([0-9])/i.exec(styleValue);if(matches){node._listLevelparseInt(matches[1],10);}if(/Ignore/i.test(value)node.firstChild){node._listIgnoretrue;node.firstChild._listIgnoretrue;}break;casehoriz-align:nametext-align;break;casevert-align:namevertical-align;break;casefont-color:casemso-foreground:namecolor;break;casemso-background:casemso-highlight:namebackground;break;casefont-weight:casefont-style:if(value!normal){outputStyles[name]value;}return;casemso-element:if(/^(comment|comment-list)$/i.test(value)){node.remove();return;}break;}if(name.indexOf(mso-comment)0){node.remove();return;}if(name.indexOf(mso-)0){return;}if(getRetainStyleProps(editor)all||(validStylesvalidStyles[name])){outputStyles[name]value;}});if(/(bold)/i.test(outputStyles[font-weight])){deleteoutputStyles[font-weight];node.wrap(newglobal$2(b,1));}if(/(italic)/i.test(outputStyles[font-style])){deleteoutputStyles[font-style];node.wrap(newglobal$2(i,1));}varoutputStyleeditor.dom.serializeStyle(outputStyles,node.name);if(outputStyle){returnoutputStyle;}returnnull;};/** * 过滤word文档内容 * param {*} editor * param {*} content * returns */varfilterWordContentfunction(editor,content){varvalidStyles;varretainStylePropertiesgetRetainStyleProps(editor);if(retainStyleProperties){validStylesglobal$6.makeMap(retainStyleProperties.split(/[, ]/));}contentfilter(content,[//gi,/]id?docs-internal-[^]*/gi,//gi,// 去除特殊标签默认去除img将img解开/(!|script[^]*.*?\/script(?[\s])|\/?(\?xml(:\w)?|meta|link|style|\w:\w)(?[\s\/]))[^]*/gi,[/(\/?)s/gi,$1strike],[//gi,nbsp],[/([\s\u00a0]*)\/span/gi,function(str,spaces){returnspaces.length0?spaces.replace(/./, ).slice(Math.floor(spaces.length/2)).split().join(nbsp):;},],//word为了适配旧ie会有重复的image相关标签过滤时去掉[/]]src([^])[^]*\/v:shape/g,],/]]src([^])[^]*\/v:shape/g]);varvalidElementsgetWordValidElements(editor);varschemaglobal$1({valid_elements:validElements,valid_children:-li[p],});global$6.each(schema.elements,function(rule){if(!rule.attributes.class){rule.attributes.class{};rule.attributesOrder.push(class);}if(!rule.attributes.style){rule.attributes.style{};rule.attributesOrder.push(style);}});vardomParserglobal$4({},schema);domParser.addAttributeFilter(style,function(nodes){varinodes.length,node;while(i--){nodenodes[i];node.attr(style,filterStyles(editor,validStyles,node,node.attr(style)));if(node.namespannode.parent!node.attributes.length){node.unwrap();}}});domParser.addAttributeFilter(class,function(nodes){varinodes.length,node,className;while(i--){nodenodes[i];classNamenode.attr(class);if(/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(className)){node.remove();}node.attr(class,null);}});domParser.addNodeFilter(del,function(nodes){varinodes.length;while(i--){nodes[i].remove();}});domParser.addNodeFilter(a,function(nodes){varinodes.length,node,href,name;while(i--){nodenodes[i];hrefnode.attr(href);namenode.attr(name);if(hrefhref.indexOf(#_msocom_)!-1){node.remove();continue;}if(hrefhref.indexOf(file://)0){hrefhref.split(#)[1];if(href){href#href;}}if(!href!name){node.unwrap();}else{if(name!/^_?(?:toc|edn|ftn)/i.test(name)){node.unwrap();continue;}node.attr({href:href,name:name,});}}});varrootNodedomParser.parse(content);if(shouldConvertWordFakeLists(editor)){convertFakeListsToProperLists(rootNode);}contentglobal$3({validate:getValidate(editor)},schema).serialize(rootNode);returncontent;};varpreProcess$1function(editor,content){returnshouldUseDefaultFilters(editor)?filterWordContent(editor,content):content;};varpreProcessfunction(editor,html){varparserglobal$4({},editor.schema);parser.addNodeFilter(meta,function(nodes){global$6.each(nodes,function(node){node.remove();});});varfragmentparser.parse(html,{forced_root_block:false,isRootContent:true,});returnglobal$3({validate:getValidate(editor)},editor.schema).serialize(fragment);};varprocessResultfunction(content,cancelled){return{content:content,cancelled:cancelled,};};varpostProcessFilterfunction(editor,html,internal,isWordHtml){vartempBodyeditor.dom.create(div,{style:display:none},html);varpostProcessArgsfirePastePostProcess(editor,tempBody,internal,isWordHtml);returnprocessResult(postProcessArgs.node.innerHTML,postProcessArgs.isDefaultPrevented());};varfilterContentfunction(editor,content,internal,isWordHtml,event){varpreProcessArgsfirePastePreProcess(editor,content,internal,isWordHtml,event);varfilteredContentpreProcess(editor,preProcessArgs.content);if(editor.hasEventListeners(PastePostProcess)!preProcessArgs.isDefaultPrevented()){returnpostProcessFilter(editor,filteredContent,internal,isWordHtml);}else{returnprocessResult(filteredContent,preProcessArgs.isDefaultPrevented());}};varprocessfunction(editor,html,internal,event){varisWordHtmlisWordContent(html);varcontentisWordHtml?preProcess$1(editor,html):html;returnfilterContent(editor,content,internal,isWordHtml,event);};varpasteHtml$1function(editor,html){editor.insertContent(html,{merge:shouldMergeFormats(editor),paste:true,});returntrue;};varisAbsoluteUrlfunction(url){return/^https?:\/\/[\w\?\-\/.%~#]$/i.test(url);};varisImageUrlfunction(editor,url){return(isAbsoluteUrl(url)exists(getAllowedImageFileTypes(editor),function(type){returnendsWith(url.toLowerCase(),.type.toLowerCase());}));};varcreateImagefunction(editor,url,pasteHtmlFn){editor.undoManager.extra(function(){pasteHtmlFn(editor,url);},function(){editor.insertContent();});returntrue;};varcreateLinkfunction(editor,url,pasteHtmlFn){editor.undoManager.extra(function(){pasteHtmlFn(editor,url);},function(){editor.execCommand(mceInsertLink,false,url);});returntrue;};varlinkSelectionfunction(editor,html,pasteHtmlFn){returneditor.selection.isCollapsed()falseisAbsoluteUrl(html)?createLink(editor,html,pasteHtmlFn):false;};varinsertImagefunction(editor,html,pasteHtmlFn){returnisImageUrl(editor,html)?createImage(editor,html,pasteHtmlFn):false;};varsmartInsertContentfunction(editor,html){global$6.each([linkSelection,insertImage,pasteHtml$1],function(action){returnaction(editor,html,pasteHtml$1)!true;});};varinsertContentfunction(editor,html,pasteAsText){if(pasteAsText||isSmartPasteEnabled(editor)false){pasteHtml$1(editor,html);}else{smartInsertContent(editor,html);}};varisCollapsibleWhitespacefunction(c){return \f\t\x0B.indexOf(c)!-1;};varisNewLineCharfunction(c){returnc\n||c\r;};varisNewlinefunction(text,idx){returnidxtext.lengthidx0?isNewLineChar(text[idx]):false;};varnormalizeWhitespacefunction(editor,text){vartabSpacerepeat( ,getTabSpaces(editor));varnormalizedTexttext.replace(/\t/g,tabSpace);varresultfoldl(normalizedText,function(acc,c){if(isCollapsibleWhitespace(c)||cnbsp){if(acc.pcIsSpace||acc.str||acc.str.lengthnormalizedText.length-1||isNewline(normalizedText,acc.str.length1)){return{pcIsSpace:false,str:acc.strnbsp,};}else{return{pcIsSpace:true,str:acc.str ,};}}else{return{pcIsSpace:isNewLineChar(c),str:acc.strc,};}},{pcIsSpace:false,str:,});returnresult.str;};vardoPastefunction(editor,content,internal,pasteAsText,event){varargsprocess(editor,content,internal,event);if(args.cancelledfalse){insertContent(editor,args.content,pasteAsText);}};varpasteHtmlfunction(editor,html,internalFlag,event){varinternalinternalFlag?internalFlag:isMarked(html);doPaste(editor,unmark(html),internal,false,event);};varpasteTextfunction(editor,text,event){varencodedTexteditor.dom.encode(text).replace(/\r\n/g,\n);varnormalizedTextnormalizeWhitespace(editor,encodedText);varhtmlconvert(normalizedText,getForcedRootBlock(editor),getForcedRootBlockAttrs(editor));doPaste(editor,html,false,true,event);};vargetDataTransferItemsfunction(dataTransfer){varitems{};varmceInternalUrlPrefixdata:text/mce-internal,;if(dataTransfer){if(dataTransfer.getData){varlegacyTextdataTransfer.getData(Text);if(legacyTextlegacyText.length0){if(legacyText.indexOf(mceInternalUrlPrefix)-1){items[text/plain]legacyText;}}}if(dataTransfer.types){for(vari0;idataTransfer.types.length;i){varcontentTypedataTransfer.types[i];try{items[contentType]dataTransfer.getData(contentType);}catch(ex){items[contentType];}}}}returnitems;};vargetClipboardContentfunction(editor,clipboardEvent){returngetDataTransferItems(clipboardEvent.clipboardData||editor.getDoc().dataTransfer);};varhasContentTypefunction(clipboardContent,mimeType){return(mimeTypeinclipboardContentclipboardContent[mimeType].length0);};varhasHtmlOrTextfunction(content){return(hasContentType(content,text/html)||hasContentType(content,text/plain));};varparseDataUrifunction(uri){varmatches/data:([^;]);base64,([a-z0-9\\/])/i.exec(uri);if(matches){return{type:matches[1],data:decodeURIComponent(matches[2]),};}else{return{type:null,data:null,};}};varisValidDataUriImagefunction(editor,imgElm){varfiltergetImagesDataImgFilter(editor);returnfilter?filter(imgElm):true;};varextractFilenamefunction(editor,str){varmstr.match(/([\s\S]?)(?:\.[a-z0-9.])$/i);returnisNonNullable(m)?editor.dom.encode(m[1]):null;};varuniqueIdcreateIdGenerator(mceclip);varpasteImagefunction(editor,imageItem,event){var_aparseDataUri(imageItem.uri),base64_a.data,type_a.type;variduniqueId();varfileimageItem.blob;varimgnewImage();img.srcimageItem.uri;if(isValidDataUriImage(editor,img)){varblobCacheeditor.editorUpload.blobCache;varblobInfovoid0;varexistingBlobInfoblobCache.getByData(base64,type);if(!existingBlobInfo){varuseFileNamegetImagesReuseFilename(editor)isNonNullable(file.name);varname_1useFileName?extractFilename(editor,file.name):id;varfilenameuseFileName?file.name:undefined;blobInfoblobCache.create(id,file,base64,name_1,filename);blobCache.add(blobInfo);}else{blobInfoexistingBlobInfo;}pasteHtml(editor,,false,event);}else{pasteHtml(editor,,false,event);}};varisClipboardEventfunction(event){returnevent.typepaste;};varisDataTransferItemfunction(item){returnisNonNullable(item.getAsFile);};varreadFilesAsDataUrisfunction(items){returnglobal$8.all(map(items,function(item){returnnewglobal$8(function(resolve){varblobisDataTransferItem(item)?item.getAsFile():item;varreadernewwindow.FileReader();reader.onloadfunction(){resolve({blob:blob,uri:reader.result,});};reader.readAsDataURL(blob);});}));};varisImagefunction(editor){varallowedExtensionsgetAllowedImageFileTypes(editor);returnfunction(file){return(startsWith(file.type,image/)exists(allowedExtensions,function(extension){returngetImageMimeType(extension)file.type;}));};};vargetImagesFromDataTransferfunction(editor,dataTransfer){varitemsdataTransfer.items?bind(from(dataTransfer.items),function(item){returnitem.kindfile?[item.getAsFile()]:[];}):[];varfilesdataTransfer.files?from(dataTransfer.files):[];returnfilter$1(items.length0?items:files,isImage(editor));};varpasteImageDatafunction(editor,e,rng){vardataTransferisClipboardEvent(e)?e.clipboardData:e.dataTransfer;if(getPasteDataImages(editor)dataTransfer){varimagesgetImagesFromDataTransfer(editor,dataTransfer);if(images.length0){e.preventDefault();readFilesAsDataUris(images).then(function(fileResults){if(rng){editor.selection.setRng(rng);}each(fileResults,function(result){pasteImage(editor,result,e);});});returntrue;}}returnfalse;};varisBrokenAndroidClipboardEventfunction(e){varclipboardDatae.clipboardData;return(navigator.userAgent.indexOf(Android)!-1clipboardDataclipboardData.itemsclipboardData.items.length0);};varisKeyboardPasteEventfunction(e){return((global$7.metaKeyPressed(e)e.keyCode86)||(e.shiftKeye.keyCode45));};varregisterEventHandlersfunction(editor,pasteBin,pasteFormat){varkeyboardPasteEventvalue();varkeyboardPastePressedvalue();varkeyboardPastePlainTextState;editor.on(keyup,keyboardPastePressed.clear);editor.on(keydown,function(e){varremovePasteBinOnKeyUpfunction(e){if(isKeyboardPasteEvent(e)!e.isDefaultPrevented()){pasteBin.remove();}};if(isKeyboardPasteEvent(e)!e.isDefaultPrevented()){keyboardPastePlainTextStatee.shiftKeye.keyCode86;if(keyboardPastePlainTextStateglobal$a.webkitnavigator.userAgent.indexOf(Version/)!-1){return;}e.stopImmediatePropagation();keyboardPasteEvent.set(e);keyboardPastePressed.set(true);if(global$a.iekeyboardPastePlainTextState){e.preventDefault();firePaste(editor,true);return;}pasteBin.remove();pasteBin.create();editor.once(keyup,removePasteBinOnKeyUp);editor.once(paste,function(){editor.off(keyup,removePasteBinOnKeyUp);});}});varinsertClipboardContentfunction(editor,clipboardContent,isKeyBoardPaste,plainTextMode,internal,event){varcontent;if(hasContentType(clipboardContent,text/html)){contentclipboardContent[text/html];}else{contentpasteBin.getHtml();internalinternal?internal:isMarked(content);if(pasteBin.isDefaultContent(content)){plainTextModetrue;}}contenttrimHtml(content);pasteBin.remove();varisPlainTextHtmlinternalfalseisPlainText(content);varisAbsoluteUrl$1isAbsoluteUrl(content);if(!content.length||(isPlainTextHtml!isAbsoluteUrl$1)){plainTextModetrue;}if(plainTextMode||isAbsoluteUrl$1){if(hasContentType(clipboardContent,text/plain)isPlainTextHtml){contentclipboardContent[text/plain];}else{contentinnerText(content);}}if(pasteBin.isDefaultContent(content)){if(!isKeyBoardPaste){editor.windowManager.alert(Please use CtrlV/CmdV keyboard shortcuts to paste contents.);}return;}if(plainTextMode){pasteText(editor,content,event);}else{pasteHtml(editor,content,internal,event);}};vargetLastRngfunction(){returnpasteBin.getLastRng()||editor.selection.getRng();};// 粘贴事件editor.on(paste,function(e){varisKeyboardPastekeyboardPasteEvent.isSet()||keyboardPastePressed.isSet();if(isKeyboardPaste){keyboardPasteEvent.clear();}varclipboardContentgetClipboardContent(editor,e);varplainTextModepasteFormat.get()text||keyboardPastePlainTextState;varinternalhasContentType(clipboardContent,internalHtmlMime());keyboardPastePlainTextStatefalse;if(e.isDefaultPrevented()||isBrokenAndroidClipboardEvent(e)){pasteBin.remove();return;}if(!hasHtmlOrText(clipboardContent)pasteImageData(editor,e,getLastRng())){pasteBin.remove();return;}if(!isKeyboardPaste){e.preventDefault();}if(global$a.ie(!isKeyboardPaste||e.ieFake)!hasContentType(clipboardContent,text/html)){pasteBin.create();editor.dom.bind(pasteBin.getEl(),paste,function(e){e.stopPropagation();});editor.getDoc().execCommand(Paste,false,null);clipboardContent[text/html]pasteBin.getHtml();}if(hasContentType(clipboardContent,text/html)){e.preventDefault();if(!internal){internalisMarked(clipboardContent[text/html]);}insertClipboardContent(editor,clipboardContent,isKeyboardPaste,plainTextMode,internal,e);}else{global$9.setEditorTimeout(editor,function(){insertClipboardContent(editor,clipboardContent,isKeyboardPaste,plainTextMode,internal,e);},0);}});};varregisterEventsAndFiltersfunction(editor,pasteBin,pasteFormat){registerEventHandlers(editor,pasteBin,pasteFormat);varsrc;editor.parser.addNodeFilter(img,function(nodes,name,args){varisPasteInsertfunction(args){returnargs.dataargs.data.pastetrue;};varremovefunction(node){if(!node.attr(data-mce-object)src!global$a.transparentSrc){node.remove();}};varisWebKitFakeUrlfunction(src){returnsrc.indexOf(webkit-fake-url)0;};varisDataUrifunction(src){returnsrc.indexOf(data:)0;};if(!getPasteDataImages(editor)isPasteInsert(args)){varinodes.length;while(i--){srcnodes[i].attr(src);if(!src){continue;}if(isWebKitFakeUrl(src)){remove(nodes[i]);}elseif(!getAllowHtmlDataUrls(editor)isDataUri(src)){remove(nodes[i]);}}}});};vargetPasteBinParentfunction(editor){returnglobal$a.ieeditor.inline?document.body:editor.getBody();};varisExternalPasteBinfunction(editor){returngetPasteBinParent(editor)!editor.getBody();};vardelegatePasteEventsfunction(editor,pasteBinElm,pasteBinDefaultContent){if(isExternalPasteBin(editor)){editor.dom.bind(pasteBinElm,paste keyup,function(_e){if(!isDefault(editor,pasteBinDefaultContent)){editor.fire(paste);}});}};varcreatefunction(editor,lastRngCell,pasteBinDefaultContent){vardomeditor.dom,bodyeditor.getBody();lastRngCell.set(editor.selection.getRng());varpasteBinElmeditor.dom.add(getPasteBinParent(editor),div,{id:mcepastebin,class:mce-pastebin,contentEditable:true,data-mce-bogus:all,style:position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0,},pasteBinDefaultContent);if(global$a.ie||global$a.gecko){dom.setStyle(pasteBinElm,left,dom.getStyle(body,direction,true)rtl?65535:-65535);}dom.bind(pasteBinElm,beforedeactivate focusin focusout,function(e){e.stopPropagation();});delegatePasteEvents(editor,pasteBinElm,pasteBinDefaultContent);pasteBinElm.focus();editor.selection.select(pasteBinElm,true);};varremovefunction(editor,lastRngCell){if(getEl(editor)){varpasteBinClonevoid0;varlastRnglastRngCell.get();while((pasteBinCloneeditor.dom.get(mcepastebin))){editor.dom.remove(pasteBinClone);editor.dom.unbind(pasteBinClone);}if(lastRng){editor.selection.setRng(lastRng);}}lastRngCell.set(null);};vargetElfunction(editor){returneditor.dom.get(mcepastebin);};vargetHtmlfunction(editor){varcopyAndRemovefunction(toElm,fromElm){toElm.appendChild(fromElm);editor.dom.remove(fromElm,true);};varpasteBinClonesglobal$6.grep(getPasteBinParent(editor).childNodes,function(elm){returnelm.idmcepastebin;});varpasteBinElmpasteBinClones.shift();global$6.each(pasteBinClones,function(pasteBinClone){copyAndRemove(pasteBinElm,pasteBinClone);});vardirtyWrapperseditor.dom.select(div[idmcepastebin],pasteBinElm);for(varidirtyWrappers.length-1;i0;i--){varcleanWrappereditor.dom.create(div);pasteBinElm.insertBefore(cleanWrapper,dirtyWrappers[i]);copyAndRemove(cleanWrapper,dirtyWrappers[i]);}returnpasteBinElm?pasteBinElm.innerHTML:;};varisDefaultContentfunction(pasteBinDefaultContent,content){returncontentpasteBinDefaultContent;};varisPasteBinfunction(elm){returnelmelm.idmcepastebin;};varisDefaultfunction(editor,pasteBinDefaultContent){varpasteBinElmgetEl(editor);return(isPasteBin(pasteBinElm)isDefaultContent(pasteBinDefaultContent,pasteBinElm.innerHTML));};varPasteBinfunction(editor){varlastRngCell(null);varpasteBinDefaultContent%MCEPASTEBIN%;return{create:function(){returncreate(editor,lastRng,pasteBinDefaultContent);},remove:function(){returnremove(editor,lastRng);},getEl:function(){returngetEl(editor);},getHtml:function(){returngetHtml(editor);},getLastRng:lastRng.get,isDefault:function(){returnisDefault(editor,pasteBinDefaultContent);},isDefaultContent:function(content){returnisDefaultContent(pasteBinDefaultContent,content);},};};varClipboardfunction(editor,pasteFormat){varpasteBinPasteBin(editor);editor.on(PreInit,function(){returnregisterEventsAndFilters(editor,pasteBin,pasteFormat);});return{pasteFormat:pasteFormat,pasteHtml:function(html,internalFlag){returnpasteHtml(editor,html,internalFlag);},pasteText:function(text){returnpasteText(editor,text);},pasteImageData:function(e,rng){returnpasteImageData(editor,e,rng);},getDataTransferItems:getDataTransferItems,hasHtmlOrText:hasHtmlOrText,hasContentType:hasContentType,};};vartogglePlainTextPastefunction(editor,clipboard){if(clipboard.pasteFormat.get()text){clipboard.pasteFormat.set(html);firePastePlainTextToggle(editor,false);}else{clipboard.pasteFormat.set(text);firePastePlainTextToggle(editor,true);}editor.focus();};varregister$2function(editor,clipboard){editor.addCommand(mceTogglePlainTextPaste,function(){togglePlainTextPaste(editor,clipboard);});editor.addCommand(mceInsertClipboardContent,function(ui,value){if(value.content){clipboard.pasteHtml(value.content,value.internal);}if(value.text){clipboard.pasteText(value.text);}});};varhasWorkingClipboardApifunction(clipboardData){return(global$a.iOSfalsetypeof(clipboardDatanull||clipboardDatavoid0?void0:clipboardData.setData)function);};varsetHtml5Clipboardfunction(clipboardData,html,text){if(hasWorkingClipboardApi(clipboardData)){try{clipboardData.clearData();clipboardData.setData(text/html,html);clipboardData.setData(text/plain,text);clipboardData.setData(internalHtmlMime(),html);returntrue;}catch(e){returnfalse;}}else{returnfalse;}};varsetClipboardDatafunction(evt,data,fallback,done){if(setHtml5Clipboard(evt.clipboardData,data.html,data.text)){evt.preventDefault();done();}else{fallback(data.html,done);}};varfallbackfunction(editor){returnfunction(html,done){varmarkedHtmlmark(html);varoutereditor.dom.create(div,{contenteditable:false,data-mce-bogus:all,});varinnereditor.dom.create(div,{contenteditable:true},markedHtml);editor.dom.setStyles(outer,{position:fixed,top:0,left:-3000px,width:1000px,overflow:hidden,});outer.appendChild(inner);editor.dom.add(editor.getBody(),outer);varrangeeditor.selection.getRng();inner.focus();varoffscreenRangeeditor.dom.createRng();offscreenRange.selectNodeContents(inner);editor.selection.setRng(offscreenRange);global$9.setTimeout(function(){editor.selection.setRng(range);outer.parentNode.removeChild(outer);done();},0);};};vargetDatafunction(editor){return{html:editor.selection.getContent({contextual:true}),text:editor.selection.getContent({format:text}),};};varisTableSelectionfunction(editor){return!!editor.dom.getParent(editor.selection.getStart(),td[data-mce-selected],th[data-mce-selected],editor.getBody());};varhasSelectedContentfunction(editor){return!editor.selection.isCollapsed()||isTableSelection(editor);};varcutfunction(editor){returnfunction(evt){if(hasSelectedContent(editor)){setClipboardData(evt,getData(editor),fallback(editor),function(){if(global$a.browser.isChrome()||global$a.browser.isFirefox()){varrng_1editor.selection.getRng();global$9.setEditorTimeout(editor,function(){editor.selection.setRng(rng_1);editor.execCommand(Delete);},0);}else{editor.execCommand(Delete);}});}};};varcopyfunction(editor){returnfunction(evt){if(hasSelectedContent(editor)){setClipboardData(evt,getData(editor),fallback(editor),noop);}};};varregister$1function(editor){editor.on(cut,cut(editor));editor.on(copy,copy(editor));};varglobaltinymce.util.Tools.resolve(tinymce.dom.RangeUtils);vargetCaretRangeFromEventfunction(editor,e){returnglobal.getCaretRangeFromPoint(e.clientX,e.clientY,editor.getDoc());};varisPlainTextFileUrlfunction(content){varplainTextContentcontent[text/plain];returnplainTextContent?plainTextContent.indexOf(file://)0:false;};varsetFocusedRangefunction(editor,rng){editor.focus();editor.selection.setRng(rng);};varsetup$2function(editor,clipboard,draggingInternallyState){if(shouldBlockDrop(editor)){editor.on(dragend dragover draggesture dragdrop drop drag,function(e){e.preventDefault();e.stopPropagation();});}if(!shouldPasteDataImages(editor)){editor.on(drop,function(e){vardataTransfere.dataTransfer;if(dataTransferdataTransfer.filesdataTransfer.files.length0){e.preventDefault();}});}editor.on(drop,function(e){varrnggetCaretRangeFromEvent(editor,e);if(e.isDefaultPrevented()||draggingInternallyState.get()){return;}vardropContentclipboard.getDataTransferItems(e.dataTransfer);varinternalclipboard.hasContentType(dropContent,internalHtmlMime());if((!clipboard.hasHtmlOrText(dropContent)||isPlainTextFileUrl(dropContent))clipboard.pasteImageData(e,rng)){return;}if(rngshouldFilterDrop(editor)){varcontent_1dropContent[mce-internal]||dropContent[text/html]||dropContent[text/plain];if(content_1){e.prDefault();global$9.setEditorTimeout(editor,function(){editor.undoManager.transact(function(){if(dropContent[mce-internal]){editor.execCommand(Delete);}setFocusedRange(editor,rng);content_1trimHtml(content_1);if(!dropContent[text/html]){clipboard.pasteText(content_1);}else{clipboard.pasteHtml(content_1,internal);}});});}}});editor.on(dragstart,function(_e){draggingInternallyState.set(true);});editor.on(dragover dragend,function(e){if(shouldPasteDataImages(editor)draggingInternallyState.get()false){e.preventDefault();setFocusedRange(editor,getCaretRangeFromEvent(editor,e));}if(e.typedragend){draggingInternallyState.set(false);}});};varsetup$1function(editor){varplugineditor.plugins.paste;varpreProcessgetPreProcess(editor);if(preProcess){editor.on(PastePreProcess,function(e){preProcess.call(plugin,plugin,e);});}varpostProcessgetPostProcess(editor);if(postProcess){editor.on(PastePostProcess,function(e){postProcess.call(plugin,plugin,e);});}};varaddPreProcessFilterfunction(editor,filterFunc){editor.on(PastePreProcess,function(e){e.contentfilterFunc(editor,e.content,e.internal,e.wordContent);});};varaddPostProcessFilterfunction(editor,filterFunc){editor.on(PastePostProcess,function(e){filterFunc(editor,e.node);});};varremoveExplorerBrElementsAfterBlocksfunction(editor,html){if(!isWordContent(html)){returnhtml;}varblockElements[];global$6.each(editor.schema.getBlockElements(),function(block,blockName){blockElements.push(blockName);});varexplorerBlocksRegExpnewRegExp((?:[\\s\\r\\n]|)*(\\/?(blockElements.join(|))[^]*)(?:[\\s\\r\\n]|)*,g);htmlfilter(html,[[explorerBlocksRegExp,$1]]);htmlfilter(html,[[//g, ],[//g, ],[//g, ],]);returnhtml;};varremoveWebKitStylesfunction(editor,content,internal,isWordHtml){if(isWordHtml||internal){returncontent;}varwebKitStylesSettinggetWebkitStyles(editor);varwebKitStyles;if(shouldRemoveWebKitStyles(editor)false||webKitStylesSettingall){returncontent;}if(webKitStylesSetting){webKitStyleswebKitStylesSetting.split(/[, ]/);}if(webKitStyles){vardom_1editor.dom,node_1editor.selection.getNode();contentcontent.replace(/([^]) style([^]*)([^]*)/gi,function(all,before,value,after){varinputStylesdom_1.parseStyle(dom_1.decode(value));varoutputStyles{};if(webKitStylesnone){returnbeforeafter;}for(vari0;iwebKitStyles.length;i){varinputValueinputStyles[webKitStyles[i]],currentValuedom_1.getStyle(node_1,webKitStyles[i],true);if(/color/.test(webKitStyles[i])){inputValuedom_1.toHex(inputValue);currentValuedom_1.toHex(currentValue);}if(currentValue!inputValue){outputStyles[webKitStyles[i]]inputValue;}}varoutputStyledom_1.serializeStyle(outputStyles,span);if(outputStyle){returnbefore styleoutputStyleafter;}returnbeforeafter;});}else{contentcontent.replace(/([^]) style([^]*)([^]*)/gi,$1$3);}contentcontent.replace(/([^])>/gi,function(all,before,value,after){returnbefore stylevalueafter;});returncontent;};varremoveUnderlineAndFontInAnchorfunction(editor,root){editor.$(a,root).find(font,u).each(function(i,node){editor.dom.remove(node,true);});};varsetupfunction(editor){if(global$a.webkit){addPreProcessFilter(editor,removeWebKitStyles);}if(global$a.ie){addPreProcessFilter(editor,removeExplorerBrElementsAfterBlocks);addPostProcessFilter(editor,removeUnderlineAndFontInAnchor);}};varmakeSetupHandlerfunction(editor,clipboard){returnfunction(api){api.setActive(clipboard.pasteFormat.get()text);varpastePlainTextToggleHandlerfunction(e){returnapi.setActive(e.state);};editor.on(PastePlainTextToggle,pastePlainTextToggleHandler);returnfunction(){returneditor.off(PastePlainTextToggle,pastePlainTextToggleHandler);};};};varregisterfunction(editor,clipboard){varonActionfunction(){returneditor.execCommand(mceTogglePlainTextPaste);};editor.ui.registry.addToggleButton(pastetext,{active:false,icon:paste-text,tooltip:Paste as text,onAction:onAction,onSetup:makeSetupHandler(editor,clipboard),});editor.ui.registry.addToggleMenuItem(pastetext,{text:Paste as text,icon:paste-text,onAction:onAction,onSetup:makeSetupHandler(editor,clipboard),});};functionPlugin(){global$b.add(paste,function(editor){if(hasProPlugin(editor)false){vardraggingInternallyStateCell(false);varpasteFormatCell(isPasteAsTextEnabled(editor)?text:html);varclipboardClipboard(editor,pasteFormat);setup(editor);register(editor,clipboard);register$2(editor,clipboard);setup$1(editor);register$1(editor);setup$2(editor,clipboard,draggingInternallyState);returnget(clipboard);}});}Plugin();})();番外由于tinymce版本的问题,粘贴上去的图片是没有办法直接拉伸的.需要在init的时候加一下配置object_resizing:true,//图片拉伸最终效果
版权声明:本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

网站开发需要注册账户吗舆情监测系统

comsol仿真,多物理场仿真 电磁轨道炮comsol模型 可仿真电枢加速全过程 动网格实现打开COMSOL看着满屏的物理场接口,我对着电磁轨道炮模型直挠头。这玩意儿既要算电磁场又要算结构变形,还得让网格跟着电枢跑起来,简直像让猫学狗叫—…

张小明 2026/1/11 0:55:45 网站建设

网站优化建议营销网站建设技术

第一章:边缘Agent镜像瘦身的背景与挑战在边缘计算场景中,Agent作为连接终端设备与云端控制平面的关键组件,其部署效率直接影响系统的响应速度和资源利用率。受限于边缘节点普遍存在的存储容量小、网络带宽低和算力有限等问题,传统…

张小明 2026/1/9 4:29:15 网站建设

网站建设套在县城怎么做网站公司

想要轻松实现专业级的语音转换效果吗?RVC语音转换工具让普通用户也能享受高质量的AI音色克隆体验。这款基于检索式语音转换技术的Web界面工具,将复杂的深度学习技术封装成直观易用的操作界面,让语音转换变得简单高效。 【免费下载链接】rvc-w…

张小明 2026/1/9 5:38:17 网站建设

做网站有没有免费空间深圳二手房成交价格查询

快速体验 打开 InsCode(快马)平台 https://www.inscode.net输入框内输入如下内容: 开发一个基于AI的漏洞扫描工具,能够自动分析代码和网络流量,识别常见漏洞如SQL注入、XSS等。工具应具备以下功能:1. 支持多种编程语言和框架的代…

张小明 2026/1/10 1:41:55 网站建设

广告网站建设实训报告wordpress置顶

在当今快速发展的科技时代,各行各业都在不断寻求创新与突破。近期,一项备受瞩目的技术成果横空出世,为相关领域带来了革命性的变化。这项技术不仅在理论层面实现了重大跨越,更在实际应用中展现出巨大的潜力,有望重塑行…

张小明 2026/1/9 5:41:11 网站建设

网站建设简述需求分析的基本概念及内容龙岩kk网首页

Chrome 开发者工具是一套 Web 开发者工具,直接内置于 Google Chrome 浏览器中,帮助您即时修改页面和快速诊断问题,让您能够更快地构建更好的网站。Chrome 开发者工具https://developer.chrome.google.cn/docs/devtools/ai-assistance?hlzh-c…

张小明 2026/1/9 11:38:36 网站建设