vue接入ckeditor编辑器效果代码

代码语言:html

所属分类:其他

代码描述:vue接入ckeditor编辑器效果代码

代码标签: 编辑器 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">

  
<style>
body {

  padding: 50px;
}


.heading h1 {
  background: -webkit-linear-gradient(#fff, #999);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  text-align: center;
  margin: 0 0 5px 0;
  font-weight: 900;
  font-size: 4rem;
  color: #fff;
}
.heading h4 {
  color: #a990cc;
  text-align: center;
  margin: 0 0 35px 0;
  font-weight: 400;
  font-size: 24px;
}

.btn {
  outline: none !important;
}

.btn.btn-primary {
  background-color: #5c4084;
  border-color: #5c4084;
  outline: none;
}
.btn.btn-primary:hover {
  background-color: #442f62;
  border-color: #442f62;
}
.btn.btn-primary:active, .btn.btn-primary:focus {
  background-color: #684895;
  border-color: #684895;
}
.btn.btn-primary .fa {
  padding-right: 4px;
}

.label-primary {
  background-color: #5c4084;
}

.form-group {
  margin-bottom: 25px;
}

.ckeditor {
  margin-bottom: 15px;
  width: 100%;
  clear: both;
}

.cke_chrome {
  border: 1px solid #ddd;
  box-shadow: none;
}

.cke_top {
  background-image: none;
  background: #f5f5f5;
  border-color: #ddd;
  box-shadow: none;
}

.cke_bottom {
  background-image: none;
  background: #f5f5f5;
  border-color: #ddd;
  box-shadow: none;
}

.cke_toolgroup {
  background-image: none;
  border-color: #fff;
  background: #fff;
  box-shadow: none;
}

.cke_toolgroup a {
  color: #5c4084;
}
</style>




</head>

<body >

<div class="container" id="app">
  
  <div class="form-group">
    <ckeditor v-model="content"></ckeditor>
  </div>
  

  
</div>

<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue@2.6.1.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/ckeditor/ckeditor.js"></script>
  
      <scr.........完整代码请登录后点击上方下载按钮下载查看

网友评论0