<commit_before><div class="gh-koenig-editor relative w-100 vh-100 overflow-x-hidden overflow-y-auto z-0" {{did-insert this.registerElement}} ...attributes>
    {{!-- full height content pane --}}
    <div
        class="gh-koenig-editor-pane flex flex-column mih-100"
        {{on "mousedown" this.trackMousedown}}
        {{on "mouseup" this.focusEditor}}
    >
        <GhEditorFeatureImage
            @image={{@featureImage}}
            @updateImage={{@setFeatureImage}}
            @clearImage={{@clearFeatureImage}}
            @alt={{@featureImageAlt}}
            @updateAlt={{@setFeatureImageAlt}}
            @caption={{@featureImageCaption}}
            @updateCaption={{@setFeatureImageCaption}}
            @forceButtonDisplay={{or this.titleIsHovered this.titleIsFocused}}
        />

        <GhTextarea
            @class="gh-editor-title"
            @placeholder={{@titlePlaceholder}}
            @shouldFocus={{or @titleAutofocus false}}
            @tabindex="1"
            @autoExpand=".gh-koenig-editor"
            @value={{readonly this.title}}
            @input={{this.updateTitle}}
            @focus-out={{optional @onTitleBlur}}
            @keyDown={{this.onTitleKeydown}}
            @didCreateTextarea={{this.registerTitleElement}}
            {{on "focus" (fn (mut this.titleIsFocused) true)}}
            {{on "blur" (fn (mut this.titleIsFocused) false)}}
            {{on "mouseover" (fn (mut this.titleIsHovered) true)}}
            {{on "mouseleave" (fn (mut this.titleIsHovered) false)}}
            data-test-editor-title-input={{true}}
        />

        <KoenigEditor
            @mobiledoc={{@body}}
            @placeholder={{@bodyPlaceholder}}
            @spellcheck={{true}}
            @onChange={{@onBodyChange}}
            @didCreateEditor={{this.onEditorCreated}}
            @cursorDidExitAtTop={{this.focusTitle}}
            @headerOffset={{@headerOffset}}<commit_msg>Always show feature image buttons when no title is set<commit_after><div class="gh-koenig-editor relative w-100 vh-100 overflow-x-hidden overflow-y-auto z-0" {{did-insert this.registerElement}} ...attributes>
    {{!-- full height content pane --}}
    <div
        class="gh-koenig-editor-pane flex flex-column mih-100"
        {{on "mousedown" this.trackMousedown}}
        {{on "mouseup" this.focusEditor}}
    >
        <GhEditorFeatureImage
            @image={{@featureImage}}
            @updateImage={{@setFeatureImage}}
            @clearImage={{@clearFeatureImage}}
            @alt={{@featureImageAlt}}
            @updateAlt={{@setFeatureImageAlt}}
            @caption={{@featureImageCaption}}
            @updateCaption={{@setFeatureImageCaption}}
            @forceButtonDisplay={{or (not @title) (eq @title "(Untitled)") this.titleIsHovered this.titleIsFocused}}
        />

        <GhTextarea
            @class="gh-editor-title"
            @placeholder={{@titlePlaceholder}}
            @shouldFocus={{or @titleAutofocus false}}
            @tabindex="1"
            @autoExpand=".gh-koenig-editor"
            @value={{readonly this.title}}
            @input={{this.updateTitle}}
            @focus-out={{optional @onTitleBlur}}
            @keyDown={{this.onTitleKeydown}}
            @didCreateTextarea={{this.registerTitleElement}}
            {{on "focus" (fn (mut this.titleIsFocused) true)}}
            {{on "blur" (fn (mut this.titleIsFocused) false)}}
            {{on "mouseover" (fn (mut this.titleIsHovered) true)}}
            {{on "mouseleave" (fn (mut this.titleIsHovered) false)}}
            data-test-editor-title-input={{true}}
        />

        <KoenigEditor
            @mobiledoc={{@body}}
            @placeholder={{@bodyPlaceholder}}
            @spellcheck={{true}}
            @onChange={{@onBodyChange}}
            @didCreateEditor={{this.onEditorCreated}}
            @cursorDidExitAtTop={{this.focusTitle}}
            @headerOffset={{@headerOffset}}
{'fraction_non_alphanumeric': 0.15067447187579536, 'fraction_numerical': 0.00559938915754645, 'mean_word_length': 2.367609254498715, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1668497', 'n_tokens_mistral': 1138, 'n_tokens_neox': 1136, 'n_words': 183}