diff --git a/src/Html/Editor/Editor.php b/src/Html/Editor/Editor.php
index <HASH>..<HASH> 100644
--- a/src/Html/Editor/Editor.php
+++ b/src/Html/Editor/Editor.php
@@ -44,6 +44,14 @@ class Editor {
     public static $defaultStylesheets = [];
 
     /**
+     * Include editor scripts if it will be displayed on the page.
+     *
+     * @var boolean
+     */
+
+    public static $includeScripts = false;
+
+    /**
      * Name of the code editor.
      *
      * @var string
@@ -164,6 +172,8 @@ class Editor {
      */
 
     public function getCreateScript() {
+        static::$includeScripts = true;
+
         $text = '<script>';
         $text .= 'editors = ( typeof editors != "undefined" && editors instanceof Array ) ? editors : [];';
         $text .= 'editors.push({';
@@ -179,4 +189,4 @@ class Editor {
         return $text;
     }
 
-}
\ No newline at end of file
+}
Added lazy loading for editor scripts