github udecode/plate @udecode/plate-media@39.3.0

latest releases: @udecode/plate@39.3.3, @udecode/plate-media@39.3.3, @udecode/plate-docx@39.3.3...
11 hours ago

Minor Changes

  • #3708 by @felixfeng33 – ImagePlugin:

    • New initialHeight and initialWidth in TImageElement This will display a loading placeholder while the image is still loading, which helps maintain a consistent height.
    • New Api: editor.insert.imageFromFiles

    PlaceholderPlugin:

    • Mew placeholderId Used to track what was converted from that placeholder plugin.
    • New insertMedia Used for inserting the placeholder at once.
    • New validateFiles utils for validate the files meet the mediaConfig.
      • If validation fails,stop insert placeholder and save the error message in uploadErrorMessage.
    • New option.multiple maxFileCount Used to limit the number of placeholders inserted.
    • New option.disable disabledDndPlugin Used to using the browser drop.
    • New error use editor.useOption to watch and display a toast message.

Don't miss a new plate release

NewReleases is sending notifications on new releases.