support more bbcode tags

audio/video/hide/hr/strikethrough
This commit is contained in:
NekoCH
2024-04-17 13:56:24 +08:00
parent 2447469ea0
commit 08f879a5b9
5 changed files with 131 additions and 5 deletions
+8
View File
@@ -96,3 +96,11 @@ img.hitandrun {
.form-control-row input[type=checkbox] {
vertical-align: sub;
}
.hidden-text {
filter: blur(.5em);
transition: filter .15s ease-in-out;
}
.hidden-text:hover {
filter: blur(0);
}
+43
View File
@@ -59,6 +59,22 @@ insert_tag(
""
);
insert_tag(
$lang_tags['text_strikethrough'],
$lang_tags['text_strikethrough_description'],
$lang_tags['text_strikethrough_syntax'],
$lang_tags['text_strikethrough_example'],
""
);
insert_tag(
$lang_tags['text_hide'],
$lang_tags['text_hide_description'],
$lang_tags['text_hide_syntax'],
$lang_tags['text_hide_example'],
""
);
insert_tag(
$lang_tags['text_color_one'],
$lang_tags['text_color_one_description'],
@@ -252,6 +268,24 @@ insert_tag(
$lang_tags['text_youtube_example'],
""
);
insert_tag(
$lang_tags['text_video'],
$lang_tags['text_video_description'],
$lang_tags['text_video_syntax'],
$lang_tags['text_video_example'],
""
);
insert_tag(
$lang_tags['text_audio'],
$lang_tags['text_audio_description'],
$lang_tags['text_audio_syntax'],
$lang_tags['text_audio_example'],
""
);
/*
insert_tag(
$lang_tags['text_youku'],
@@ -286,6 +320,15 @@ insert_tag(
""
);
insert_tag(
$lang_tags['text_hr'],
$lang_tags['text_hr_description'],
$lang_tags['text_hr_syntax'],
$lang_tags['text_hr_example'],
""
);
end_frame();
end_main_frame();
stdfoot();