getEditorConfig
client.editorApi.getEditorConfig(): Promise<EditorConfig>
Retrieves the current editor configuration.
Returns settings that control editor behavior such as theme, font size, tab width, and other preferences. Useful for synchronizing editor state across components or persisting user preferences.
Parameters
No parameters.
Returns
Promise<EditorConfig> — A promise that resolves to the current
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.editorApi.getEditorConfig();
console.log(result);