怎麼將織夢圖集模型編輯器改為文章編輯器?
阿新 • • 發佈:2018-11-19
今天跟版網小編在使用織夢圖集編輯器的時候發現圖集編輯器的功能要比文章的編輯器少很多,釋出內容的時候很不好用,比如圖片居中,編輯居中等功能,具體不知道官方為何將這個編輯器簡化的,我們如何將編輯器改成文章的一樣呢?
圖集編輯器:
文章編輯器:
<?php GetEditor("body",$body,450,"Diy"); ?>
換成
<?php GetEditor("body",$addRow['body'],450); ?>
將/dede/templets/album_add.htm 中的
<?php GetEditor("body","",450,"Diy"); ?>
換成
<?php GetEditor("body",$addRow['body'],450); ?>
編輯器的寬度不夠用的話,可以改下這個td的寬度,預設為800,改為1100
<tr> <td height="24" colspan="4" class="bline"><table width="1100" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90"> 圖集內容:</td> <td><?php GetEditor("body",$addRow['body'],1100); ?></td> </tr> </table></td> </tr>
來源:https://www.genban.org/news/dedecms-18599.html