| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| readme.md | 2023-08-29 | 1.9 kB | |
| Text_Expander.html | 2023-08-28 | 2.2 kB | |
| Totals: 2 Items | 4.2 kB | 0 | |

How to add new Expansion Text :
-
Go to File Manager and search "Text_Expander.html" and Select.
-
Right click and click "Open with" and select "Notepad"
-
Search this code :
<script>
const textExpansions = {
'ofclig': 'Official LIGMATV'
// Cara Menambahkan teks ekspensi lainnya :
// (Teks Singkatan)': '(Teks Kepanjangan)'
};
- For example, im want add this Expantion Text : "r for Ronaldo"
That the code will you write :
'r': 'Ronaldo'And the full code will like this :
<script>
const textExpansions = {
'ofclig': 'Official LIGMATV',
'r': 'Ronaldo'
// Cara Menambahkan teks ekspensi lainnya :
// (Teks Singkatan)': '(Teks Kepanjangan)'
};
- So if you write r, that will show Ronaldo!

Important!
The first and text expantion code, you must add the , at last
because if you not add that, the second and next text expantion code will not readed. For Example :
This code is right :
<script>
const textExpansions = {
'ofclig': 'Official LIGMATV',
'r': 'Ronaldo'
// Cara Menambahkan teks ekspensi lainnya :
// (Teks Singkatan)': '(Teks Kepanjangan)'
};
This code is wrong :
<script>
const textExpansions = {
'ofclig': 'Official LIGMATV'
'r': 'Ronaldo'
// Cara Menambahkan teks ekspensi lainnya :
// (Teks Singkatan)': '(Teks Kepanjangan)'
};
You found the different? The different is , at last first and next first code.
Still don't get it?
Watch the video in our YouTube Channel, @OfcLIG.