• Robert Knight's avatar
    Remove "enabled" state from excerpt component · e59360d2
    Robert Knight authored
    Simplify the `<excerpt>` component by removing the `enabled` property.
    This property was used to avoid the markdown editor being truncated when
    rendered inside the excerpt. However it is possible to achieve the same
    result without this property by using `ng-if`.
    
    This change will simplify porting the excerpt component to Preact and
    also paves the way to splitting the existing `<markdown>` component into
    two separate, simpler, components: One for the "view" mode and one for the "edit"
    mode.
    e59360d2
excerpt-overflow-monitor.js 3.13 KB