ldong 1 mēnesi atpakaļ
vecāks
revīzija
c998e6b3ef
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/views/ppt_manage/newVersion/utils/untils.js

+ 2 - 0
src/views/ppt_manage/newVersion/utils/untils.js

@@ -188,11 +188,13 @@ export const toTextProps = (json) => {
             }
             if (bulletFlag && styleObj['list-type'] === 'ol') {
               options.bullet = { type: 'number', indent: 20 * 0.75 }
+              options.breakLine=true
               options.paraSpaceBefore = 0.1
               bulletFlag = false
             }
             if (bulletFlag && styleObj['list-type'] === 'ul') {
               options.bullet = { indent: 20 * 0.75 }
+              options.breakLine=true
               options.paraSpaceBefore = 0.1
               bulletFlag = false
             }