framework/js/dist-typings/common/utils/styleSelectedText.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

16 lines
408 B
TypeScript

interface StyleArgs {
prefix: string;
suffix: string;
blockPrefix: string;
blockSuffix: string;
multiline: boolean;
replaceNext: string;
prefixSpace: boolean;
scanFor: string;
surroundWithNewlines: boolean;
orderedList: boolean;
trimFirst: boolean;
}
export default function styleSelectedText(textarea: HTMLTextAreaElement, styleArgs: StyleArgs): void;
export {};