在使用WangEditor時覺得高度太低,默認是300px;想調下高度,借鑒https://blog.csdn.net/qq_31384551/article/details/83240188,
網址博主解釋的很詳細,我就不解釋了
直接在頁面擼代碼,
<style type="text/css"> .toolbar { border: 1px solid #ccc;/*設置下拉棒*/ } .w-e-text-container{ height: 600px !important;/*!important是重點,因為原div是行內樣式設置的高度300px*/ } </style>
在設置下拉棒時,記得給div加class;