当前位置: 首页 > news >正文

深圳建设集团是国企吗seo外包费用

深圳建设集团是国企吗,seo外包费用,网站建设开源项目github,wordpress 群目录 前言一、monaco-editor1、源码2、体积优化 二、ace-editor?1、源码2、体积优化 总结 前言 提示:这里可以添加本文要记录的大概内容: 例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多…

目录

  • 前言
  • 一、monaco-editor
    • 1、源码
    • 2、体积优化
  • 二、ace-editor?
    • 1、源码
    • 2、体积优化
  • 总结


前言

提示:这里可以添加本文要记录的大概内容:

例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。


提示:以下是本篇文章正文内容,下面案例可供参考

一、monaco-editor

1、源码

<template><div ref="monacoEditor" id="monacoEditor" :style="style"></div>
</template><script setup>
import { nextTick, onMounted, ref, watch, onBeforeUnmount } from "vue";
import * as monaco from "monaco-editor";
const props = defineProps({modelValue: {},style: {},readOnly: {},language: {},content: {},
});const emit = defineEmits(["update:modelValue"]);const monacoEditor = ref();
let editor;const init = () => {/*** @param wordWrap 自动换行,注意大小写*/editor = monaco.editor.create(monacoEditor.value, {automaticLayout: true,value: props.modelValue,readOnly: props.readOnly,theme: "vs-dark",language: props.language,wordWrap: "on",wrappingIndent: "indent",});// 监听值的变化editor.onDidChangeModelContent(() => {emit("update:modelValue", editor.getValue());});
};
onMounted(() => {init();
});watch(() => props.language,(nv, ov) => {monaco.editor.setModelLanguage(editor.getModel(), nv);}
);function updateValue() {setTimeout(() => {editor.setValue(props.modelValue);}, 200);
}watch(() => props.language,(newValue) => {monaco.editor.setModelLanguage(editor.getModel(), newValue);}
);
defineExpose({ updateValue });
</script><style></style>
<config-editv-model="tempFlow.textareashow":language="tempFlow.language":readOnly="false"style="height: 100%; width: 100%"
></config-edit>

2、体积优化

待续…

二、ace-editor?

1、源码

代码如下(示例):

<template><v-ace-editorv-model:value="modelValue"@init="init"lang="json":theme="theme":options="options":readonly="readonly":style="style"/>
</template><script setup>
import { VAceEditor } from "vue3-ace-editor";
import "ace-builds/webpack-resolver";
import "ace-builds/src-noconflict/mode-json";
import "ace-builds/src-noconflict/theme-chrome";
import "ace-builds/src-noconflict/ext-language_tools";const props = defineProps({modelValue: {},theme: {},options: {},readonly: {},//自定义行内样式style: {},
})</script><style></style>
<ace-editorv-model:value="tempFlow.textareashow"@init="initFail"lang="json":theme="aceConfig.theme":options="aceConfig.options":readonly="aceConfig.readOnly"class="ace-editor"
/>

2、体积优化

待续…


总结

提示:这里对文章进行总结:

记录web在线编辑器的

http://www.rdtb.cn/news/17201.html

相关文章:

  • 大连工业大学研究生分数线廊坊首页霸屏排名优化
  • 网站开发用户需求说明书网络营销方案3000字
  • 编程免费自学网站整站seo定制
  • 集团网站建设行业现状整合营销是什么
  • 孝感网站建设公司2345网址导航怎么彻底删掉
  • h5长图怎么做手机流畅优化软件
  • 提升网站打开速度怎么做大数据营销系统
  • 电脑网页无法打开是什么原因重庆百度推广排名优化
  • 企石仿做网站神马网站快速排名案例
  • 为传销做网站百度指数的搜索指数
  • 国外优秀设计网站有哪些谷歌关键词排名查询
  • 代理记账网站怎么做快优吧seo优化
  • 专业的营销型网站企业文化商丘seo博客
  • 广州 网站备案网站排名优化
  • 做网站 英语搜索引擎优化的内容包括
  • 企业网站开发服务史上最强大的搜索神器
  • vue快速搭建网站企业如何建立网站
  • 武汉网站seo诊断宁波网络推广平台
  • 提卡的网站怎么做营销和运营的区别是什么
  • 奉化建设局网站谷歌商店官网下载
  • 网站开发财务温州网站建设制作
  • 黄岛开发区做网站的公司推广普通话的意义50字
  • wordpress编辑使用其他模板爱站网站seo查询工具
  • 网站推广建设期宁波seo教程行业推广
  • 大气机械网站农产品营销方案
  • 四川省人民政府参事室seo教程seo优化
  • seo网站设计今日新闻头条新闻
  • 海南州公司网站建设友情链接交换群
  • 网站建设注意事项 南京免费入驻的电商平台
  • 网站不良正能量直接进入张北网站seo