Uncaught TypeError: CKEDITOR.skin on node forms without a body field
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3255428. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !73 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Node edit forms throw the following error, when that node does not have any text field which uses ckeditor:</p> <pre>Uncaught TypeError: CKEDITOR.skinName is undefined<br>&nbsp;&nbsp;&nbsp; b https://example.com/core/assets/vendor/ckeditor/ckeditor.js?v=4.17.1:536<br>&nbsp;&nbsp;&nbsp; h https://example.com/core/assets/vendor/ckeditor/ckeditor.js?v=4.17.1:536<br>&nbsp;&nbsp;&nbsp; getPath https://example.com/core/assets/vendor/ckeditor/ckeditor.js?v=4.17.1:538<br>&nbsp;&nbsp;&nbsp; attach https://example.com/themes/contrib/gin/dist/js/gin_ckeditor.js?v=9.2.10:10<br>&nbsp;&nbsp;&nbsp; attachBehaviors https://example.com/core/misc/drupal.js?v=9.2.10:27<br>&nbsp;&nbsp;&nbsp; attachBehaviors https://example.com/core/misc/drupal.js?v=9.2.10:24<br>&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; https://example.com/core/misc/drupal.init.js?v=9.2.10:29<br>&nbsp;&nbsp;&nbsp; listener https://example.com/core/misc/drupal.init.js?v=9.2.10:17<br>ckeditor.js:536:127</pre><p>The file <code>dist/js/gin_ckeditor.js</code> gets loaded on every page, which is OK as it checks for the existence of <code>window.CKEDITOR</code> before executing its code. But that doesn't seem to be sufficient under given circumstances. It seems that a verification of <code>CKEDITOR.skin</code> is also required.</p>
issue