This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I'ts ugly but works | |
$('.pagination').each(function(){ | |
var allLi = $(this).find('li'); | |
if(allLi.length > 20) { | |
var activeId = allLi.filter('.active').index(); | |
allLi.eq(0) | |
.add(allLi.eq(1)) | |
.add(allLi.eq(2)) | |
.add(allLi.eq(3)) | |
.add(allLi.eq(4)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<vue-editor v-model="content" ref="editor" :editor-options="toolbarOptions" @text-change="updateValue" useCustomImageHandler @imageAdded="uploadImage"></vue-editor> | |
</div> | |
</template> | |
<script> | |
import Vue from "vue"; | |
import axios from 'axios' | |
let VueEditor, Quill; |