ting.yin 5 năm trước cách đây
mục cha
commit
bcf8b9bb99
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      stmms-web/src/main/webapp/static/rich-text/js/render.js

+ 1 - 1
stmms-web/src/main/webapp/static/rich-text/js/render.js

@@ -9,7 +9,7 @@ function renderRichText(body) {
 
 function renderSection(section) {
     let blocks = section.blocks || [];
-    let inline = blocks.length === 1;
+    let inline = blocks.length > 1;
     let html = [];
     blocks.forEach(block => {
         html.push(renderBlock(block, inline));