PluginProbe
WPIDE – File Manager & Code Editor / 3.4.1
WPIDE – File Manager & Code Editor v3.4.1
3.5.8 3.5.7 2.0.14 2.0.15 2.0.16 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.2 2.3 2.3.1 2.3.2 2.4.0 2.5 2.6 3.0 3.1 3.2 3.3 3.4 All 54 releases
← All changes | _configuration.php +46 -2 3.23.4.1 View file →
@@ -1,9 +1,7 @@
1 1 <?php
2 2 defined('ABSPATH') || exit;
3 3
4 -use const WPIDE\Constants\CONTENT_DIR;
5 -
6 4 return apply_filters('wpide_config', [
7 5 'general' => [
8 6 'dark_mode' => [
9 7 'type' => 'bool',
@@ -122,8 +120,54 @@
122 120 '@eaDir/',
123 121 '#recycle/',
124 122 'node_modules/'
125 123 ]
124 + ]
125 + ],
126 + 'editor' => [
127 + 'font_size' => [
128 + 'type' => 'range',
129 + 'label' => __('Font Size (px)', 'wpide'),
130 + 'attr' => [
131 + 'min' => 10,
132 + 'max' => 20
133 + ],
134 + 'default' => 12,
135 + ],
136 + 'scroll_speed' => [
137 + 'type' => 'range',
138 + 'label' => __('Scroll Speed', 'wpide'),
139 + 'attr' => [
140 + 'min' => 1,
141 + 'max' => 20
142 + ],
143 + 'default' => 3,
144 + ],
145 + 'hightlight_active_line' => [
146 + 'type' => 'bool',
147 + 'label' => __('Highlight Active Line', 'wpide'),
148 + 'default' => false
149 + ],
150 + 'behaviours_enabled' => [
151 + 'type' => 'bool',
152 + 'label' => __('Enable Behaviours', 'wpide'),
153 + 'desc' => __('When enabled, the editor will auto close tags and brackets', 'wpide'),
154 + 'default' => true
155 + ],
156 + 'use_soft_tabs' => [
157 + 'type' => 'bool',
158 + 'label' => __('Use Soft Tabs', 'wpide'),
159 + 'desc' => __('When enabled, a tab key press will insert spaces instead of the tab character', 'wpide'),
160 + 'default' => false
161 + ],
162 + 'tab_size' => [
163 + 'type' => 'range',
164 + 'label' => __('Tab Size', 'wpide'),
165 + 'attr' => [
166 + 'min' => 1,
167 + 'max' => 8
168 + ],
169 + 'default' => 4
126 170 ]
127 171 ],
128 172 'db' => [
129 173 'per_page' => [