This example shows how to start Article Editor with settings. In this example, the source mode is disabled and the editor has a focus on the start.
<!DOCTYPE html>
<html>
<head>
<title>Article Editor</title>
<meta charset="utf-8">
<!-- css -->
<link rel="stylesheet" href="/your-article-dist-path/article-editor.min.css" />
</head>
<body>
<!-- element -->
<textarea id="entry">
<p>Content</p>
</textarea>
<!-- js -->
<script src="/your-article-dist-path/article-editor.min.js"></script>
<!-- call with settings -->
<script>
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
source: false,
editor: {
focus: true
}
});
</script>
</body>
</html>