Add: #91 アカウントのおすすめタグを投稿フォームからクリックで挿入可能にする (#668)

This commit is contained in:
KMY(雪あすか) 2024-03-26 12:17:55 +09:00 committed by GitHub
parent 7176fa7592
commit 31559f6b59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 329 additions and 0 deletions

View file

@ -64,6 +64,7 @@ export const COMPOSE_LANGUAGE_CHANGE = 'COMPOSE_LANGUAGE_CHANGE';
export const COMPOSE_EMOJI_INSERT = 'COMPOSE_EMOJI_INSERT';
export const COMPOSE_EXPIRATION_INSERT = 'COMPOSE_EXPIRATION_INSERT';
export const COMPOSE_FEATURED_TAG_INSERT = 'COMPOSE_FEATURED_TAG_INSERT';
export const COMPOSE_REFERENCE_INSERT = 'COMPOSE_REFERENCE_INSERT';
export const COMPOSE_UPLOAD_CHANGE_REQUEST = 'COMPOSE_UPLOAD_UPDATE_REQUEST';
@ -808,6 +809,14 @@ export function insertExpirationCompose(position, data) {
};
}
export function insertFeaturedTagCompose(position, data) {
return {
type: COMPOSE_FEATURED_TAG_INSERT,
position,
data,
};
}
export function insertReferenceCompose(position, url, attributeType) {
return {
type: COMPOSE_REFERENCE_INSERT,