본문으로 건너뛰기

editor-sdk package​

Classes​

ClassDescription
EventEmitterEvent Emitter extended by ShakrEditor
ShakrEditorAmplify Editor class which returns a instance that can communicates with Amplify's Editor iframe window.
ShakrreadyEditorAmplify Editor class which returns a instance that can communicates with Shakrready Editor iframe window.

Enumerations​

EnumerationDescription
ShakrEditorErrorAmplify Editor error types.
ShakrreadyEditorErrorShakrready Editor error types.

Functions​

FunctionDescription
createShakrEditor(options)Factory function to create ShakrEditor instance
createShakrreadyEditor(options)Factory function to create ShakrreadyEditor instance

Interfaces​

InterfaceDescription
ShakrEditorCustomizabilityOptionsOptions to control customizability in Amplify Editor.
ShakrEditorErrorEventEvent Object for 'error' event.
ShakrEditorEventMapEvent map interface for ShakrEditor.
ShakrEditorFinishEventEvent Object for 'finish' event when ShakrEditorOptions.wait_rendering is true.
ShakrEditorGetMediaEventEvent Object for 'get_media' event.
ShakrEditorMediaMedia object interface which should be returned by 'get_media' event or 'open_media_library' event event listener's callback.
ShakrEditorMediaLibrarySDK consumer provided media library config
ShakrEditorOpenMediaLibraryEventEvent Object for 'open_media_library' event.
ShakrEditorOptionsShakrEditor constructor options interface
ShakrEditorThemeTheme setting options for Amplify Editor.
ShakrEditorThemeCustomizeOptionsTheme customize options for Amplify Editor
ShakrreadyEditorErrorEventEvent Object for 'error' event.
ShakrreadyEditorEventMapEvent map interface for ShakrreadyEditor.
ShakrreadyEditorOptionsShakrreadyEditor constructor options interface

Type Aliases​

Type AliasDescription
ShakrEditorAppearanceTypeLight (light) / Dark (dark) / Dynamically change appearance depends on browser/OS setting (browser)