Rev 637 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 637 | Rev 679 | ||
---|---|---|---|
Line 1393... | Line 1393... | ||
1393 | color_map?: string[]; |
1393 | color_map?: string[]; |
1394 | content_css?: boolean | string | string[]; |
1394 | content_css?: boolean | string | string[]; |
1395 | content_css_cors?: boolean; |
1395 | content_css_cors?: boolean; |
1396 | content_security_policy?: string; |
1396 | content_security_policy?: string; |
1397 | content_style?: string; |
1397 | content_style?: string; |
- | 1398 | deprecation_warnings?: boolean; |
|
1398 | font_css?: string | string[]; |
1399 | font_css?: string | string[]; |
1399 | content_langs?: ContentLanguage[]; |
1400 | content_langs?: ContentLanguage[]; |
1400 | contextmenu?: string | false; |
1401 | contextmenu?: string | false; |
1401 | contextmenu_never_use_native?: boolean; |
1402 | contextmenu_never_use_native?: boolean; |
1402 | convert_fonts_to_spans?: boolean; |
1403 | convert_fonts_to_spans?: boolean; |
Line 1954... | Line 1955... | ||
1954 | parents: Element[]; |
1955 | parents: Element[]; |
1955 | }) => void) => { |
1956 | }) => void) => { |
1956 | unbind: () => void; |
1957 | unbind: () => void; |
1957 | }; |
1958 | }; |
1958 | getScrollContainer: () => HTMLElement; |
1959 | getScrollContainer: () => HTMLElement; |
1959 | scrollIntoView: (elm: Element, alignToTop?: boolean) => void; |
1960 | scrollIntoView: (elm?: HTMLElement, alignToTop?: boolean) => void; |
1960 | placeCaretAt: (clientX: number, clientY: number) => void; |
1961 | placeCaretAt: (clientX: number, clientY: number) => void; |
1961 | getBoundingClientRect: () => ClientRect | DOMRect; |
1962 | getBoundingClientRect: () => ClientRect | DOMRect; |
1962 | destroy: () => void; |
1963 | destroy: () => void; |
1963 | } |
1964 | } |
1964 | declare type EditorCommandCallback = (ui: boolean, value: any, args: any) => void; |
1965 | declare type EditorCommandCallback = (ui: boolean, value: any, args: any) => void; |
Line 2248... | Line 2249... | ||
2248 | parseDataUri: (uri: string) => { |
2249 | parseDataUri: (uri: string) => { |
2249 | type: string; |
2250 | type: string; |
2250 | data: string; |
2251 | data: string; |
2251 | }; |
2252 | }; |
2252 | } |
2253 | } |
- | 2254 | interface SafeUriOptions { |
|
- | 2255 | readonly allow_html_data_urls?: boolean; |
|
- | 2256 | readonly allow_script_urls?: boolean; |
|
- | 2257 | readonly allow_svg_data_urls?: boolean; |
|
- | 2258 | } |
|
2253 | declare class URI { |
2259 | declare class URI { |
2254 | static parseDataUri(uri: string): { |
2260 | static parseDataUri(uri: string): { |
2255 | type: string; |
2261 | type: string; |
2256 | data: string; |
2262 | data: string; |
2257 | }; |
2263 | }; |
- | 2264 | static isDomSafe(uri: string, context?: string, options?: SafeUriOptions): boolean; |
|
2258 | static getDocumentBaseUrl(loc: { |
2265 | static getDocumentBaseUrl(loc: { |
2259 | protocol: string; |
2266 | protocol: string; |
2260 | host?: string; |
2267 | host?: string; |
2261 | href?: string; |
2268 | href?: string; |
2262 | pathname?: string; |
2269 | pathname?: string; |
Line 2863... | Line 2870... | ||
2863 | interface VK { |
2870 | interface VK { |
2864 | BACKSPACE: number; |
2871 | BACKSPACE: number; |
2865 | DELETE: number; |
2872 | DELETE: number; |
2866 | DOWN: number; |
2873 | DOWN: number; |
2867 | ENTER: number; |
2874 | ENTER: number; |
- | 2875 | ESC: number; |
|
2868 | LEFT: number; |
2876 | LEFT: number; |
2869 | RIGHT: number; |
2877 | RIGHT: number; |
2870 | SPACEBAR: number; |
2878 | SPACEBAR: number; |
2871 | TAB: number; |
2879 | TAB: number; |
2872 | UP: number; |
2880 | UP: number; |