<form id='create_topic_form' action='' method='post'>
<span class="tab-selector">选择版块:</span>
<select name="" id="tab-value">
<option value="">请选择</option>
<option value="">分享</option>
<option value="">问答</option>
</select>
</form>
<textarea autofocus id='title' name='title' rows='1' placeholder="标题字数 10 字以上"></textarea>
<div class="title_editor">
<editor id="editor_id" height="500px" width="98%"
:content.sync="editorText"
:afterChange="afterChange()"
pluginsPath="../../static/kindeditor/plugins/"
:loadStyleMode="false"
@on-content-change="onContentChange">
</editor>
<!-- <div> editorTextCopy: {{ editorTextCopy }} </div> -->
<div class='editor_buttons'>
<input type="submit" class='span-primary submit_btn' data-loading-text="提交中" value="发布">
</div>
</div>
发布之前 判断一下 选择的值 和 标题的字数啊 满足条件才调用发布