ReviewDB: fix input
This commit is contained in:
parent
d9e2732a8d
commit
27b2e97e3f
2 changed files with 5 additions and 4 deletions
|
|
@ -29,8 +29,8 @@ import ReviewComponent from "./ReviewComponent";
|
||||||
|
|
||||||
const Transforms = findByPropsLazy("insertNodes", "textToText");
|
const Transforms = findByPropsLazy("insertNodes", "textToText");
|
||||||
const Editor = findByPropsLazy("start", "end", "toSlateRange");
|
const Editor = findByPropsLazy("start", "end", "toSlateRange");
|
||||||
const ChatInputTypes = findByPropsLazy("FORM");
|
const ChatInputTypes = findByPropsLazy("FORM", "USER_PROFILE");
|
||||||
const InputComponent = findComponentByCodeLazy("disableThemedBackground", "CHANNEL_TEXT_AREA");
|
const InputComponent = findComponentByCodeLazy("editorClassName", "CHANNEL_TEXT_AREA");
|
||||||
const createChannelRecordFromServer = findByCodeLazy(".GUILD_TEXT])", "fromServer)");
|
const createChannelRecordFromServer = findByCodeLazy(".GUILD_TEXT])", "fromServer)");
|
||||||
|
|
||||||
interface UserProps {
|
interface UserProps {
|
||||||
|
|
@ -127,7 +127,7 @@ export function ReviewsInputComponent(
|
||||||
) {
|
) {
|
||||||
const { token } = Auth;
|
const { token } = Auth;
|
||||||
const editorRef = useRef<any>(null);
|
const editorRef = useRef<any>(null);
|
||||||
const inputType = ChatInputTypes.FORM;
|
const inputType = ChatInputTypes.USER_PROFILE_REPLY;
|
||||||
inputType.disableAutoFocus = true;
|
inputType.disableAutoFocus = true;
|
||||||
|
|
||||||
const channel = createChannelRecordFromServer({ id: "0", type: 1 });
|
const channel = createChannelRecordFromServer({ id: "0", type: 1 });
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.vc-rdb-input {
|
.vc-rdb-input {
|
||||||
|
padding-left: 12px;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
|
@ -132,4 +133,4 @@
|
||||||
|
|
||||||
.vc-rdb-block-modal-unblock {
|
.vc-rdb-block-modal-unblock {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue