EditorHeight

public enum EditorHeight

Defines the height for the Editor

  • Default controlled via autolayout.

    Declaration

    Swift

    case `default`
  • Maximum height editor is allowed to grow to before it starts scrolling

    Declaration

    Swift

    case max(_: CGFloat)
  • Boundless height.

    Important

    Editor must not have auto-layout constraints on height failing which the editor will stop growing per height constraints and will not scroll beyond that point i.e. scrollbars would not be visible.

    Declaration

    Swift

    case infinite