mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
656 B
34 lines
656 B
import {
|
|
IEditorOption,
|
|
IElement,
|
|
} from './editor'
|
|
|
|
const elementList: IElement[] = []
|
|
export const data: IElement[] = elementList
|
|
|
|
interface IComment {
|
|
id: string
|
|
content: string
|
|
userName: string
|
|
rangeText: string
|
|
createdDate: string
|
|
}
|
|
export const commentList: IComment[] = []
|
|
|
|
export const options: IEditorOption = {
|
|
margins: [100, 120, 100, 120],
|
|
watermark: {
|
|
data: '',
|
|
size: 120
|
|
},
|
|
pageNumber: {
|
|
format: '第{pageNo}页/共{pageCount}页'
|
|
},
|
|
placeholder: {
|
|
data: '请输入正文'
|
|
},
|
|
zone: {
|
|
tipDisabled: false
|
|
},
|
|
maskMargin: [60, 0, 30, 0] // 菜单栏高度60,底部工具栏30为遮盖层
|
|
}
|
|
|