diff --git a/apps/frontend/src/components/launches/bold.text.tsx b/apps/frontend/src/components/launches/bold.text.tsx index cfecf19ca..c60580a85 100644 --- a/apps/frontend/src/components/launches/bold.text.tsx +++ b/apps/frontend/src/components/launches/bold.text.tsx @@ -88,7 +88,30 @@ export const BoldText: FC<{ editor: any; currentValue: string }> = ({ onClick={mark} className="select-none cursor-pointer bg-customColor2 w-[40px] p-[5px] text-center rounded-tl-lg rounded-tr-lg" > - B + + + + + + + + + + ); }; diff --git a/apps/frontend/src/components/launches/u.text.tsx b/apps/frontend/src/components/launches/u.text.tsx index cfeb7524a..f32d06a78 100644 --- a/apps/frontend/src/components/launches/u.text.tsx +++ b/apps/frontend/src/components/launches/u.text.tsx @@ -2,68 +2,68 @@ import { FC, useCallback } from 'react'; import { Editor, Transforms } from 'slate'; const underlineMap = { - "a": "a̲", - "b": "b̲", - "c": "c̲", - "d": "d̲", - "e": "e̲", - "f": "f̲", - "g": "g̲", - "h": "h̲", - "i": "i̲", - "j": "j̲", - "k": "k̲", - "l": "l̲", - "m": "m̲", - "n": "n̲", - "o": "o̲", - "p": "p̲", - "q": "q̲", - "r": "r̲", - "s": "s̲", - "t": "t̲", - "u": "u̲", - "v": "v̲", - "w": "w̲", - "x": "x̲", - "y": "y̲", - "z": "z̲", - "A": "A̲", - "B": "B̲", - "C": "C̲", - "D": "D̲", - "E": "E̲", - "F": "F̲", - "G": "G̲", - "H": "H̲", - "I": "I̲", - "J": "J̲", - "K": "K̲", - "L": "L̲", - "M": "M̲", - "N": "N̲", - "O": "O̲", - "P": "P̲", - "Q": "Q̲", - "R": "R̲", - "S": "S̲", - "T": "T̲", - "U": "U̲", - "V": "V̲", - "W": "W̲", - "X": "X̲", - "Y": "Y̲", - "Z": "Z̲", - "1": "1̲", - "2": "2̲", - "3": "3̲", - "4": "4̲", - "5": "5̲", - "6": "6̲", - "7": "7̲", - "8": "8̲", - "9": "9̲", - "0": "0̲", + a: 'a̲', + b: 'b̲', + c: 'c̲', + d: 'd̲', + e: 'e̲', + f: 'f̲', + g: 'g̲', + h: 'h̲', + i: 'i̲', + j: 'j̲', + k: 'k̲', + l: 'l̲', + m: 'm̲', + n: 'n̲', + o: 'o̲', + p: 'p̲', + q: 'q̲', + r: 'r̲', + s: 's̲', + t: 't̲', + u: 'u̲', + v: 'v̲', + w: 'w̲', + x: 'x̲', + y: 'y̲', + z: 'z̲', + A: 'A̲', + B: 'B̲', + C: 'C̲', + D: 'D̲', + E: 'E̲', + F: 'F̲', + G: 'G̲', + H: 'H̲', + I: 'I̲', + J: 'J̲', + K: 'K̲', + L: 'L̲', + M: 'M̲', + N: 'N̲', + O: 'O̲', + P: 'P̲', + Q: 'Q̲', + R: 'R̲', + S: 'S̲', + T: 'T̲', + U: 'U̲', + V: 'V̲', + W: 'W̲', + X: 'X̲', + Y: 'Y̲', + Z: 'Z̲', + '1': '1̲', + '2': '2̲', + '3': '3̲', + '4': '4̲', + '5': '5̲', + '6': '6̲', + '7': '7̲', + '8': '8̲', + '9': '9̲', + '0': '0̲', }; export const UText: FC<{ editor: any; currentValue: string }> = ({ editor, @@ -87,7 +87,31 @@ export const UText: FC<{ editor: any; currentValue: string }> = ({ onClick={mark} className="select-none cursor-pointer bg-customColor2 w-[40px] p-[5px] text-center rounded-tl-lg rounded-tr-lg" > - U + + + + + + + + + + + ); };