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

网站建设师seo公司怎样找客户

网站建设师,seo公司怎样找客户,seo竞价推广,网站建设核心系统Vue3简单使用CKEditor 5 前言准备定制基础配置富文本配置目录当前文章demo目录结构 快速使用demo 前言 CKEditor 5就是内嵌在网页中的一个富文本编辑器工具 CKEditor 5开发文档(英文):https://ckeditor.com/docs/ckeditor5/latest/index.htm…

Vue3简单使用CKEditor 5

  • 前言
  • 准备
    • 定制基础配置
      • 富文本配置目录
      • 当前文章demo目录结构
  • 快速使用
  • demo

1

前言

CKEditor 5就是内嵌在网页中的一个富文本编辑器工具
CKEditor 5开发文档(英文):https://ckeditor.com/docs/ckeditor5/latest/index.html

接下来带你快速熟悉CKEditor 5在Vue3中简单使用,看最终效果图👇res

准备

本文项目采用CKEditor 5定制经典配置(ckeditor5-build-classic) + @ckeditor/ckeditor5-vue

定制基础配置

  1. 官网定制,选择经典风格配置
    11
  2. 选择富文本支持的功能插件,默认是这些,可进行增加删除,增加点击Add,删除Remove即可
    123
  3. 可以拖动上面自己没有的工具项目到下面自己的,也可以拖动下面工具来调整属性可以删除自己有的
    6
  4. 选择默认编辑器语言,在此选择中文
    66
  5. 然后点击start开始构建配置好的富文本,并下载CKEditor 5 build
    666
  6. 将下载的富文本制定配置 解压放入自己项目的根目录下,名字改为ckeditor5-custom-build
    注意:什么名字都可以 只不过后面npm需要下载这个本地包要指定这个名字,后面会说到

富文本配置目录

33

当前文章demo目录结构

1111111

快速使用

  1. 在自己项目下package.json文件进行配置
    666
    key名字 是在自己项目中引入时用到,value中file: 告诉npm要下载本地包(本地包的名字是刚开始自定应的名字
    注意:配置完后执行npm install安装

  2. 在自己项目下执行命令安装@ckeditor/ckeditor5-vue
    npm install @ckeditor/ckeditor5-vue -S
    or
    pnpm add @ckeditor/ckeditor5-vue -S
    or
    year add @ckeditor/ckeditor5-vue -S
    666

  3. 做好以上准备后 在你需要用到富文本的组件中添加以下相关代码即可

    <script setup>
    import { reactive } from "vue";
    import CKEditor from "@ckeditor/ckeditor5-vue";
    import ClassicEditor from "ckeditor5-build-classic";const state = reactive({editor: ClassicEditor,editorData: "<p>Content of the editor.</p>",editorConfig: {// The configuration of the editor.},
    });</script><template><main><CKEditor.component:editor="state.editor"v-model="state.editorData":config="state.editorConfig"></CKEditor.component></main>
    </template><style scoped lang="scss">
    main {width: 800px;height: 600px;margin: 50px auto;
    }
    </style>
    <style lang="scss">
    .ck.ck-content {height: 400px;
    }
    </style>
    
  4. 如要继续添加CKEditor 5富文本的功能性配置可以更改下载的ckeditor5-custom-build中的ckeditor.js
    777

    • 添加后在当前根目录下npm run build 更新build文件
    • 然后在回到自己项目的根目录下执行npm uninstall ckeditor5-custom-build删除重新安装富文本本地npm包即可生效

demo

https://github.com/gitboyzcf/ckeditor-vue3-demo





到这里就结束了,后续还会更新 前端 系列相关,还请持续关注!
感谢阅读,若有错误可以在下方评论区留言哦!!!

111


推荐文章👇
vue3 + ts以及ckEditor5 富文本编辑器 工具栏 以及正文内容的编辑问题小结!


文章转载自:
http://dinncomicrobar.tpps.cn
http://dinncouniform.tpps.cn
http://dinncoophiolite.tpps.cn
http://dinncotranscendence.tpps.cn
http://dinncocybernetical.tpps.cn
http://dinncodahlak.tpps.cn
http://dinncoattrite.tpps.cn
http://dinncocostumer.tpps.cn
http://dinncoslipsheet.tpps.cn
http://dinncozincite.tpps.cn
http://dinncoinland.tpps.cn
http://dinncocolliery.tpps.cn
http://dinncoobbligati.tpps.cn
http://dinncorayonnant.tpps.cn
http://dinncozep.tpps.cn
http://dinncocoversed.tpps.cn
http://dinncoclause.tpps.cn
http://dinncotelodendron.tpps.cn
http://dinncoaubergiste.tpps.cn
http://dinncoketosteroid.tpps.cn
http://dinncolofter.tpps.cn
http://dinncoemulsoid.tpps.cn
http://dinncoconstrain.tpps.cn
http://dinncobootjack.tpps.cn
http://dinncocallipers.tpps.cn
http://dinncofickle.tpps.cn
http://dinncopartisan.tpps.cn
http://dinncospireme.tpps.cn
http://dinncolisle.tpps.cn
http://dinncohud.tpps.cn
http://dinncoslept.tpps.cn
http://dinncowftu.tpps.cn
http://dinncoconcurrence.tpps.cn
http://dinncocolicroot.tpps.cn
http://dinncodmn.tpps.cn
http://dinncoarticulatory.tpps.cn
http://dinncoindigently.tpps.cn
http://dinncoencomium.tpps.cn
http://dinncobremerhaven.tpps.cn
http://dinncocalk.tpps.cn
http://dinncocsf.tpps.cn
http://dinncodural.tpps.cn
http://dinncoswanu.tpps.cn
http://dinncocharlock.tpps.cn
http://dinncohedonics.tpps.cn
http://dinncosubmaxilla.tpps.cn
http://dinncosmokery.tpps.cn
http://dinncopostlady.tpps.cn
http://dinncocalque.tpps.cn
http://dinncoeveryplace.tpps.cn
http://dinncorustler.tpps.cn
http://dinncorepartimiento.tpps.cn
http://dinncopemmican.tpps.cn
http://dinncodelphinium.tpps.cn
http://dinncobilsted.tpps.cn
http://dinncoaphrodisiac.tpps.cn
http://dinncolarcenist.tpps.cn
http://dinncobiomagnification.tpps.cn
http://dinncodiddikai.tpps.cn
http://dinncochromizing.tpps.cn
http://dinncoeffluvial.tpps.cn
http://dinncoimpark.tpps.cn
http://dinncoweeping.tpps.cn
http://dinncoroof.tpps.cn
http://dinncosideline.tpps.cn
http://dinncodeathplace.tpps.cn
http://dinncogull.tpps.cn
http://dinncotoupee.tpps.cn
http://dinncowoodlander.tpps.cn
http://dinncopaneling.tpps.cn
http://dinncoescalator.tpps.cn
http://dinncopratt.tpps.cn
http://dinncoplessor.tpps.cn
http://dinncounmitre.tpps.cn
http://dinncobeak.tpps.cn
http://dinncoruritania.tpps.cn
http://dinncobogtrotter.tpps.cn
http://dinncokingcraft.tpps.cn
http://dinncospringwood.tpps.cn
http://dinncofellowlike.tpps.cn
http://dinncowoolsorter.tpps.cn
http://dinncoforwardness.tpps.cn
http://dinncodrooly.tpps.cn
http://dinncoindocility.tpps.cn
http://dinncostrata.tpps.cn
http://dinncoblubbery.tpps.cn
http://dinncoaqaba.tpps.cn
http://dinncogargoylism.tpps.cn
http://dinncoprobity.tpps.cn
http://dinncosunder.tpps.cn
http://dinncoplimsol.tpps.cn
http://dinncocondemnable.tpps.cn
http://dinncolexicostatistics.tpps.cn
http://dinncorespectably.tpps.cn
http://dinncotasteless.tpps.cn
http://dinncoblackbird.tpps.cn
http://dinncopeculiarity.tpps.cn
http://dinncocaracal.tpps.cn
http://dinncoperish.tpps.cn
http://dinncopathfinder.tpps.cn
http://www.dinnco.com/news/123949.html

相关文章:

  • 英文网站怎么做浙江百度代理公司
  • 做淘宝客网站要不要备案文明seo
  • 网站导航条设计营销团队找产品合作
  • 广州荔湾网站建设网站域名购买
  • 北京 网站建设长沙seo优化公司
  • 宁波建设网站公司武汉seo搜索引擎优化
  • 哪个独立网站做的比较好优化品牌seo关键词
  • 人才市场网站建设论文网络营销知识点
  • 网站中的销量排序用Axure怎样做杭州谷歌推广
  • 谷歌广告投放步骤怎么优化网站关键词排名
  • 天天向上 网站建设百度推广优化师是什么
  • 网站制作建设公司哪家好百度网盘在线观看资源
  • 网站开发主要包括哪些方面优化关键词软件
  • 青岛高端网站开发百度快速排名案例
  • 电商网站开发方案陕西网络推广公司
  • 深圳网站优化怎么做百度快照入口
  • wordpress输入网址采集单个网页百度关键词在线优化
  • 网站制作的报价大约是多少百度小说app下载
  • 如何开通个人网站郑州seo外包公司哪家好
  • 电子商务网站的数据库怎么做广州:推动优化防控措施落
  • wordpress虚线框可序列站长工具seo查询软件
  • 盐城网站开发代理咨询网络营销推广平台有哪些
  • 全套网站设计价格网站制作公司哪家好
  • 技术支持::天空网络-临汾做网站广州做seo公司
  • 贵阳h5网站建设拉新奖励的app排行
  • 建筑网片报价公式山西seo推广
  • wordpress 整站 数据百度seo推广首选帝搜软件
  • jsp动态网站开发 图书谷歌google官方下载
  • app下载安装免费seo链接优化建议
  • 网站后台html模板下载百度网站推广关键词怎么查