This commit is contained in:
yaosen 2024-07-02 16:15:03 +08:00
parent 0cf6219601
commit 65a94c3988
55 changed files with 53 additions and 110 deletions

View File

@ -13,7 +13,7 @@ module.exports = {
testMatch: [ testMatch: [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' '**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
], ],
collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'], collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/Wangeditor/**/*.{js,vue}'],
coverageDirectory: '<rootDir>/tests/unit/coverage', coverageDirectory: '<rootDir>/tests/unit/coverage',
// 'collectCoverage': true, // 'collectCoverage': true,
'coverageReporters': [ 'coverageReporters': [

View File

@ -127,7 +127,7 @@ const asyncRoutes = [
}, },
{ {
path: '/components', path: '/Wangeditor',
component: 'layout/Layout', component: 'layout/Layout',
redirect: 'noRedirect', redirect: 'noRedirect',
name: 'ComponentDemo', name: 'ComponentDemo',
@ -138,85 +138,85 @@ const asyncRoutes = [
children: [ children: [
{ {
path: 'tinymce', path: 'tinymce',
component: 'views/components-demo/tinymce', component: 'views/Wangeditor-demo/tinymce',
name: 'TinymceDemo', name: 'TinymceDemo',
meta: { title: 'Tinymce' } meta: { title: 'Tinymce' }
}, },
{ {
path: 'markdown', path: 'markdown',
component: 'views/components-demo/markdown', component: 'views/Wangeditor-demo/markdown',
name: 'MarkdownDemo', name: 'MarkdownDemo',
meta: { title: 'Markdown' } meta: { title: 'Markdown' }
}, },
{ {
path: 'json-editor', path: 'json-editor',
component: 'views/components-demo/json-editor', component: 'views/Wangeditor-demo/json-editor',
name: 'JsonEditorDemo', name: 'JsonEditorDemo',
meta: { title: 'Json Editor' } meta: { title: 'Json Editor' }
}, },
{ {
path: 'split-pane', path: 'split-pane',
component: 'views/components-demo/split-pane', component: 'views/Wangeditor-demo/split-pane',
name: 'SplitpaneDemo', name: 'SplitpaneDemo',
meta: { title: 'SplitPane' } meta: { title: 'SplitPane' }
}, },
{ {
path: 'avatar-upload', path: 'avatar-upload',
component: 'views/components-demo/avatar-upload', component: 'views/Wangeditor-demo/avatar-upload',
name: 'AvatarUploadDemo', name: 'AvatarUploadDemo',
meta: { title: 'Avatar Upload' } meta: { title: 'Avatar Upload' }
}, },
{ {
path: 'dropzone', path: 'dropzone',
component: 'views/components-demo/dropzone', component: 'views/Wangeditor-demo/dropzone',
name: 'DropzoneDemo', name: 'DropzoneDemo',
meta: { title: 'Dropzone' } meta: { title: 'Dropzone' }
}, },
{ {
path: 'sticky', path: 'sticky',
component: 'views/components-demo/sticky', component: 'views/Wangeditor-demo/sticky',
name: 'StickyDemo', name: 'StickyDemo',
meta: { title: 'Sticky' } meta: { title: 'Sticky' }
}, },
{ {
path: 'count-to', path: 'count-to',
component: 'views/components-demo/count-to', component: 'views/Wangeditor-demo/count-to',
name: 'CountToDemo', name: 'CountToDemo',
meta: { title: 'Count To' } meta: { title: 'Count To' }
}, },
{ {
path: 'mixin', path: 'mixin',
component: 'views/components-demo/mixin', component: 'views/Wangeditor-demo/mixin',
name: 'ComponentMixinDemo', name: 'ComponentMixinDemo',
meta: { title: 'componentMixin' } meta: { title: 'componentMixin' }
}, },
{ {
path: 'back-to-top', path: 'back-to-top',
component: 'views/components-demo/back-to-top', component: 'views/Wangeditor-demo/back-to-top',
name: 'BackToTopDemo', name: 'BackToTopDemo',
meta: { title: 'Back To Top' } meta: { title: 'Back To Top' }
}, },
{ {
path: 'drag-dialog', path: 'drag-dialog',
component: 'views/components-demo/drag-dialog', component: 'views/Wangeditor-demo/drag-dialog',
name: 'DragDialogDemo', name: 'DragDialogDemo',
meta: { title: 'Drag Dialog' } meta: { title: 'Drag Dialog' }
}, },
{ {
path: 'drag-select', path: 'drag-select',
component: 'views/components-demo/drag-select', component: 'views/Wangeditor-demo/drag-select',
name: 'DragSelectDemo', name: 'DragSelectDemo',
meta: { title: 'Drag Select' } meta: { title: 'Drag Select' }
}, },
{ {
path: 'dnd-list', path: 'dnd-list',
component: 'views/components-demo/dnd-list', component: 'views/Wangeditor-demo/dnd-list',
name: 'DndListDemo', name: 'DndListDemo',
meta: { title: 'Dnd List' } meta: { title: 'Dnd List' }
}, },
{ {
path: 'drag-kanban', path: 'drag-kanban',
component: 'views/components-demo/drag-kanban', component: 'views/Wangeditor-demo/drag-kanban',
name: 'DragKanbanDemo', name: 'DragKanbanDemo',
meta: { title: 'Drag Kanban' } meta: { title: 'Drag Kanban' }
} }

View File

@ -50,10 +50,10 @@
"|", "|",
"insertLink", "insertLink",
"insertTable", "insertTable",
"codeBlock", /*"codeBlock",
"|", "|",*/
"undo", /*"undo",
"redo", "redo",*/
] ]
}, },
editorConfig: { editorConfig: {

View File

@ -163,7 +163,7 @@ export default {
Hamburger, Hamburger,
Screenfull, Screenfull,
SizeSelect, SizeSelect,
// eslint-disable-next-line vue/no-unused-components // eslint-disable-next-line vue/no-unused-Wangeditor
Search Search
}, },
computed: { computed: {
@ -179,7 +179,7 @@ export default {
'device' 'device'
]) ])
}, },
// eslint-disable-next-line vue/order-in-components // eslint-disable-next-line vue/order-in-Wangeditor
data() { data() {
return { return {
workstatus: false, workstatus: false,

View File

@ -3,7 +3,7 @@
import Layout from '@/layout' import Layout from '@/layout'
const componentsRouter = { const componentsRouter = {
path: '/components', path: '/Wangeditor',
component: Layout, component: Layout,
redirect: 'noRedirect', redirect: 'noRedirect',
name: 'ComponentDemo', name: 'ComponentDemo',

View File

@ -47,7 +47,7 @@
<script> <script>
import { fetchList } from '@/api/article' import { fetchList } from '@/api/article'
import { parseTime } from '@/utils' import { parseTime } from '@/utils'
// options components // options Wangeditor
import FilenameOption from './components/FilenameOption' import FilenameOption from './components/FilenameOption'
import AutoWidthOption from './components/AutoWidthOption' import AutoWidthOption from './components/AutoWidthOption'
import BookTypeOption from './components/BookTypeOption' import BookTypeOption from './components/BookTypeOption'

View File

@ -308,7 +308,7 @@
</template> </template>
<script> <script>
// import Pagination from '@/components/Pagination' // import Pagination from '@/Wangeditor/Pagination'
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
import {orderBack} from '@/api/order' import {orderBack} from '@/api/order'
export default { export default {

View File

@ -94,7 +94,7 @@
</template> </template>
<script> <script>
// import Pagination from '@/components/Pagination' // import Pagination from '@/Wangeditor/Pagination'
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
export default { export default {

View File

@ -388,7 +388,7 @@
</template> </template>
<script> <script>
// import Pagination from '@/components/Pagination' // import Pagination from '@/Wangeditor/Pagination'
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
import {orderBack} from '@/api/order' import {orderBack} from '@/api/order'
export default { export default {

View File

@ -80,7 +80,7 @@
</template> </template>
<script> <script>
// import Pagination from '@/components/Pagination' // import Pagination from '@/Wangeditor/Pagination'
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
export default { export default {

View File

@ -309,7 +309,7 @@
</template> </template>
<script> <script>
// import Pagination from '@/components/Pagination' // import Pagination from '@/Wangeditor/Pagination'
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
import {orderBack} from '@/api/order' import {orderBack} from '@/api/order'
export default { export default {

View File

@ -234,7 +234,7 @@ export default {
type: 'success' type: 'success'
}) })
}, },
// reference: src/view/layout/components/Sidebar/SidebarItem.vue // reference: src/view/layout/Wangeditor/Sidebar/SidebarItem.vue
onlyOneShowingChild(children = [], parent) { onlyOneShowingChild(children = [], parent) {
let onlyOneChild = null let onlyOneChild = null
const showingChildren = children.filter(item => !item.hidden) const showingChildren = children.filter(item => !item.hidden)

View File

@ -62,23 +62,7 @@
<div>内容</div> <div>内容</div>
<div style="border: 1px solid #ccc;"> <div style="border: 1px solid #ccc;">
<myEditor :value="item.content" /> <myEditor :value="item.content" />
<!-- <Toolbar
style="border-bottom: 1px solid #ccc"
:editor="editor"
:key="index"
:defaultConfig="toolbarConfig"
:mode="mode"
/>
<Editor
style="height: 300px; overflow-y: hidden;"
v-model="item.content"
:defaultConfig="editorConfig"
:mode="mode"
@onChange="onChange"
@onCreated="onCreated"
/> -->
</div> </div>
<!-- <el-input v-model="item.content" :rows="4" type="textarea" placeholder="内容" />-->
</div> </div>
<div class="mistake-right"> <div class="mistake-right">
<el-button @click="handleDel(index)" type="danger">删除</el-button> <el-button @click="handleDel(index)" type="danger">删除</el-button>
@ -139,9 +123,6 @@
<el-form-item label="旅游路线"> <el-form-item label="旅游路线">
<el-input v-model="anchors.title" type="text" placeholder="请输入旅游路线" /> <el-input v-model="anchors.title" type="text" placeholder="请输入旅游路线" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="QA内容">
<el-input v-model="anchors.content" :rows="6" style="height: 120px" type="textarea" placeholder="QA内容" />
</el-form-item> -->
<el-form-item label="QA内容"> <el-form-item label="QA内容">
<div class="mistake-content" v-for="(item,index) in anchors.qaQuestions"> <div class="mistake-content" v-for="(item,index) in anchors.qaQuestions">
<div class="mistake-left"> <div class="mistake-left">
@ -153,23 +134,7 @@
<div>内容</div> <div>内容</div>
<div style="border: 1px solid #ccc;"> <div style="border: 1px solid #ccc;">
<myEditor :value="item.content"/> <myEditor :value="item.content"/>
<!-- <Toolbar
style="border-bottom: 1px solid #ccc"
:editor="editor"
:defaultConfig="toolbarConfig"
:mode="mode"
:key="index"
/>
<Editor
style="height: 400px; overflow-y: hidden;"
v-model="item.content"
:defaultConfig="editorConfig"
:mode="mode"
@onChange="onChange"
@onCreated="onCreated"
/> -->
</div> </div>
<!-- <el-input v-model="item.content" :rows="4" type="textarea" placeholder="内容" />-->
</div> </div>
<div class="mistake-right"> <div class="mistake-right">
<el-button @click="handleDel(index)" type="danger">删除</el-button> <el-button @click="handleDel(index)" type="danger">删除</el-button>
@ -216,28 +181,13 @@
<script> <script>
import Pagination from '@/components/PaginationFixed' import Pagination from '@/components/PaginationFixed'
import myEditor from './components/wangeditor' import myEditor from '@/components/Wangeditor/index.vue'
// import { Editor, Toolbar } from '@wangeditor/editor-for-vue'
export default { export default {
name: 'getQa', name: 'getQa',
// components: { Pagination, Editor, Toolbar },
components: { Pagination, myEditor}, components: { Pagination, myEditor},
data() { data() {
return { return {
editor: null,
toolbarConfig:{
toolbarKeys:[
'headerSelect',
'|',
//
'bold','italic',
]
},
editorConfig: { placeholder: '请输入内容...' },
mode: 'default', // or 'simple'
statusArr: { 0: '禁用', 1: '启用' }, statusArr: { 0: '禁用', 1: '启用' },
list: [], list: [],
total: 0, total: 0,
@ -272,13 +222,6 @@ export default {
this.onChange() this.onChange()
}, },
methods: { methods: {
onCreated(editor) {
console.log('onCreated', editor);
this.editor = Object.seal(editor) // Object.seal()
},
onChange(editor) {
// console.log("onChange", editor.getHtml()); // onChange
},
handleAdd(){ handleAdd(){
this.anchors.qaQuestions.push({ this.anchors.qaQuestions.push({
sort:this.anchors.qaQuestions[this.anchors.qaQuestions.length-1].sort+1, sort:this.anchors.qaQuestions[this.anchors.qaQuestions.length-1].sort+1,

View File

@ -129,7 +129,7 @@ module.exports = {
}, },
commons: { commons: {
name: 'chunk-commons', name: 'chunk-commons',
test: resolve('src/components'), // can customize your rules test: resolve('src/Wangeditor'), // can customize your rules
minChunks: 3, // minimum common number minChunks: 3, // minimum common number
priority: 5, priority: 5,
reuseExistingChunk: true reuseExistingChunk: true

View File

@ -249,7 +249,7 @@ class Douyin
public function _getRetriesLock(): bool public function _getRetriesLock(): bool
{ {
$pattern = 'php webman spider:dy'; $pattern = 'php webman spider:dy';
$maxProcesses = 6; $maxProcesses = 8;
$this->_killMiddleProcesses($pattern, $maxProcesses); $this->_killMiddleProcesses($pattern, $maxProcesses);

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-6d97be4e]{position:relative;padding-bottom:60px}.el-table[data-v-6d97be4e],.filter-container[data-v-6d97be4e]{padding-bottom:52px} .pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-06715ed5]{position:relative;padding-bottom:60px}.el-table[data-v-06715ed5],.filter-container[data-v-06715ed5]{padding-bottom:52px}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-03939d62]{position:relative;padding-bottom:60px}.el-table[data-v-03939d62],.filter-container[data-v-03939d62]{padding-bottom:52px} .pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-4983868b]{position:relative;padding-bottom:60px}.el-table[data-v-4983868b],.filter-container[data-v-4983868b]{padding-bottom:52px}

View File

@ -1 +0,0 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.mistake-content[data-v-6f0c5871],.qa-desc[data-v-6f0c5871]{display:-webkit-box;display:-ms-flexbox;display:flex}.mistake-left[data-v-6f0c5871]{width:90%}.mistake-right[data-v-6f0c5871]{padding-left:20px;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.app-container[data-v-6f0c5871]{position:relative;padding-bottom:60px}[data-v-6f0c5871].el-table--fit{padding-bottom:0!important}.el-table[data-v-6f0c5871],.filter-container[data-v-6f0c5871]{padding-bottom:52px}.mistake-btn[data-v-6f0c5871]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;margin-top:10px}.search[data-v-6f0c5871]{margin-left:10px}.avatar-uploader .el-upload[data-v-6f0c5871]{border:1px solid #131313;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-6f0c5871]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-6f0c5871]{border:1px solid #979797;border-radius:15px;font-size:28px;color:#8c939d;width:100px;height:100px;line-height:100px;text-align:center}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-17b7299c]{position:relative;padding-bottom:60px}.el-table[data-v-17b7299c],.filter-container[data-v-17b7299c]{padding-bottom:52px} .pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-93ce0574]{position:relative;padding-bottom:60px}.el-table[data-v-93ce0574],.filter-container[data-v-93ce0574]{padding-bottom:52px}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-1be0c105]{position:relative;padding-bottom:60px}.el-table[data-v-1be0c105],.filter-container[data-v-1be0c105]{padding-bottom:52px} .pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-23e05a42]{position:relative;padding-bottom:60px}.el-table[data-v-23e05a42],.filter-container[data-v-23e05a42]{padding-bottom:52px}

View File

@ -0,0 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-30533d90]{position:relative;padding-bottom:60px}.el-table[data-v-30533d90],.filter-container[data-v-30533d90]{padding-bottom:52px}

View File

@ -0,0 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.disable-layer[data-v-69d1f452]{width:100%;height:100%;background:#f5f7fa;position:absolute;top:0;left:0;z-index:99;opacity:.5}.mistake-content[data-v-805dce70],.qa-desc[data-v-805dce70]{display:-webkit-box;display:-ms-flexbox;display:flex}.mistake-left[data-v-805dce70]{width:90%}.mistake-right[data-v-805dce70]{padding-left:20px;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.app-container[data-v-805dce70]{position:relative;padding-bottom:60px}[data-v-805dce70].el-table--fit{padding-bottom:0!important}.el-table[data-v-805dce70],.filter-container[data-v-805dce70]{padding-bottom:52px}.mistake-btn[data-v-805dce70]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;margin-top:10px}.search[data-v-805dce70]{margin-left:10px}.avatar-uploader .el-upload[data-v-805dce70]{border:1px solid #131313;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload[data-v-805dce70]:hover{border-color:#409eff}.avatar-uploader-icon[data-v-805dce70]{border:1px solid #979797;border-radius:15px;font-size:28px;color:#8c939d;width:100px;height:100px;line-height:100px;text-align:center}

View File

@ -1 +0,0 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-4fdf9380]{position:relative;padding-bottom:60px}.el-table[data-v-4fdf9380],.filter-container[data-v-4fdf9380]{padding-bottom:52px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long