mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +00:00
4.22.5
* Added: Setting to hide unrelated results from the FFZ Control Center when searching. This is now enabled by default. * Added: Setting to control whether the height of the Emote Menu is expanded. This is now disabled by default. * Changed: When searching in the FFZ Control Center, pills are displayed in the navigation tree showing how many matching results there are. * Changed: Update the method used for searching for channels and games, hopefully resulting in more accurate results. * Changed: When searching for users in an auto-complete field, display a check-mark for verified users. * Changed: When searching for users in an auto-complete field, respect the user's preference for rounded avatars. * Fixed: Lazy load Markdown when possible to save on initial download size.
This commit is contained in:
parent
ff4bb24a9a
commit
f0d68527b8
21 changed files with 435 additions and 164 deletions
|
@ -5,21 +5,31 @@
|
|||
|
||||
<script>
|
||||
|
||||
import getMD from 'utilities/markdown';
|
||||
import awaitMD, {getMD} from 'utilities/markdown';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
source: String
|
||||
},
|
||||
|
||||
computed: {
|
||||
md() {
|
||||
return getMD();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
md: getMD()
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
output() {
|
||||
if ( ! this.md )
|
||||
return '';
|
||||
|
||||
return this.md.render(this.source);
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
if ( ! this.md )
|
||||
awaitMD().then(md => this.md = md);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue