mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-29 05:31:51 +02:00
OAuth 1 Authentication Plugin (#292)
This commit is contained in:
@@ -91,6 +91,7 @@ export interface EditorProps {
|
||||
placeholder?: string;
|
||||
readOnly?: boolean;
|
||||
singleLine?: boolean;
|
||||
containerOnly?: boolean;
|
||||
stateKey: string | null;
|
||||
tooltipContainer?: HTMLElement;
|
||||
type?: 'text' | 'password';
|
||||
@@ -131,6 +132,7 @@ export function Editor({
|
||||
placeholder,
|
||||
readOnly,
|
||||
singleLine,
|
||||
containerOnly,
|
||||
stateKey,
|
||||
type,
|
||||
wrapLines,
|
||||
@@ -540,7 +542,7 @@ export function Editor({
|
||||
/>
|
||||
);
|
||||
|
||||
if (singleLine) {
|
||||
if (singleLine || containerOnly) {
|
||||
return cmContainer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user