Pārlūkot izejas kodu

Use slate-plugins from app/features/explore

corpglory-dev 6 gadi atpakaļ
vecāks
revīzija
9a3f4def98

+ 3 - 6
public/app/plugins/datasource/grafana-azure-monitor-datasource/editor/query_field.tsx

@@ -1,12 +1,9 @@
-import PluginPrism from './slate-plugins/prism';
-// import PluginPrism from 'slate-prism';
-// import Prism from 'prismjs';
+import PluginPrism from 'app/features/explore/slate-plugins/prism';
 
 import BracesPlugin from 'app/features/explore/slate-plugins/braces';
 import ClearPlugin from 'app/features/explore/slate-plugins/clear';
-// Custom plugins (new line on Enter and run on Shift+Enter)
-import NewlinePlugin from './slate-plugins/newline';
-import RunnerPlugin from './slate-plugins/runner';
+import NewlinePlugin from 'app/features/explore/slate-plugins/newline';
+import RunnerPlugin from 'app/features/explore/slate-plugins/runner';
 
 import Typeahead from './typeahead';