GC_Customize_Code_Editor_Control::enqueue()
最后更新于:2021-11-26 23:17:10
GC_Customize_Code_Editor_Control::enqueue()Enqueue control related scripts/styles.
源文件
文件: gc-includes/customize/class-gc-customize-code-editor-control.php
public function enqueue() {
$this->editor_settings = gc_enqueue_code_editor(
array_merge(
array(
'type' => $this->code_type,
'codemirror' => array(
'indentUnit' => 2,
'tabSize' => 2,
),
),
$this->editor_settings
)
);
}