mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
25 lines
705 B
TypeScript
25 lines
705 B
TypeScript
/**
|
|
* The `EditPostComposer` component displays the composer content for editing a
|
|
* post. It sets the initial content to the content of the post that is being
|
|
* edited, and adds a header control to indicate which post is being edited.
|
|
*
|
|
* ### Attrs
|
|
*
|
|
* - All of the attrs for ComposerBody
|
|
* - `post`
|
|
*/
|
|
export default class EditPostComposer extends ComposerBody {
|
|
static initAttrs(attrs: any): void;
|
|
/**
|
|
* Jump to the preview when triggered by the text editor.
|
|
*/
|
|
jumpToPreview(e: any): void;
|
|
/**
|
|
* Get the data to submit to the server when the post is saved.
|
|
*
|
|
* @return {Object}
|
|
*/
|
|
data(): Object;
|
|
}
|
|
import ComposerBody from "./ComposerBody";
|