Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Sep 7, 2023
1 parent 32d4ad4 commit a1a31c4
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 27 deletions.
26 changes: 13 additions & 13 deletions ui/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@

| No | Name | Status |
| --- | ------------------------ | ------ |
| 10 | Data Generator | No |
| 11 | Markdown Editor | No |
| 12 | Markdown Table Generator | No |
| 13 | Table Of Content | No |
| 14 | List | No |
| 15 | Border Radius | No |
| 11 | Data Generator | No |
| 12 | Markdown Editor | No |
| 13 | Markdown Table Generator | No |
| 14 | Table Of Content | No |
| 15 | List | No |
| 16 | Border Radius | No |

# Components

| No | Name | Status |
| --- | ------ | ------ |
| 1 | Footer | Yes |
| 2 | Menu | Yes |

| No | Name | Status |
| --- | ---------------- | ------ |
| 3 | Hedaer | No |
| 4 | ListSearchResult | Yes |
| 1 | Footer | Yes |
| 2 | Menu | Yes |
| 3 | ListSearchResult | Yes |

| No | Name | Status |
| --- | ------ | ------ |
| 4 | Hedaer | No |
33 changes: 20 additions & 13 deletions ui/src/pages/About/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,28 +183,28 @@ const FEATURE_DATA: Feature[] = [
library: [{ name: "values.js", url: LIBRARY_URLS["values.js"] }],
},
{
key: "15",
key: "3",
name: "Border Radius",
description: "Choose your desired border radius",
link: "/css/br",
library: [{ name: "faker.js", url: LIBRARY_URLS["faker-js"] }],
},
{
key: "3",
key: "4",
name: "Base 64 Converter",
description: "Convert text to base64",
link: "/converter/base-64",
library: [{ name: "Vanilla JS", url: "" }],
},
{
key: "4",
key: "5",
name: "Pixel converter",
description: "Convert pixel to rem",
link: "/converter/pixel",
library: [{ name: "Vanilla JS", url: "" }],
},
{
key: "5",
key: "6",
name: "Json to typescript converter",
description: "Convert Json to typescript",
link: "/converter/jtt",
Expand All @@ -216,7 +216,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "6",
key: "7",
name: "Data Generator",
description: "Generate any type of data",
link: "/generator/data",
Expand All @@ -232,7 +232,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "7",
key: "8",
name: "Image generate from colors",
description: "Generate image from color code",
link: "/generator/igfc",
Expand All @@ -252,7 +252,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "14",
key: "9",
name: "Avatar generator",
description: "Generate avatar from text",
link: "/generator/avatar",
Expand All @@ -268,21 +268,21 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "8",
key: "10",
name: "Sorting",
description: "Sort numbers or strings",
link: "/generator/sorting",
library: [{ name: "Vanilla JS", url: "" }],
},
{
key: "9",
key: "11",
name: "List",
description: "List of things",
link: "/list",
library: [{ name: "Vanilla JS", url: "" }],
},
{
key: "10",
key: "12",
name: "Markdown Editor",
description: "Write markdown and download",
link: "/markdown/me",
Expand All @@ -294,7 +294,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "11",
key: "13",
name: "Markdown table generator",
description: "Generate a table from the markdown",
link: "/markdown/md-table-generator",
Expand All @@ -306,7 +306,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "12",
key: "14",
name: "Markdown table of content",
description: "Generate table from markdown",
link: "/markdown/toc",
Expand All @@ -318,7 +318,7 @@ const FEATURE_DATA: Feature[] = [
],
},
{
key: "13",
key: "15",
name: "Text Editor",
description: "Generate rich text",
link: "/text/te",
Expand All @@ -329,6 +329,13 @@ const FEATURE_DATA: Feature[] = [
},
],
},
{
key: "16",
name: "News",
description: "Tech news",
link: "/",
library: [{ name: "Vanilla JS", url: "" }],
},
];

export {
Expand Down
6 changes: 5 additions & 1 deletion ui/src/pages/Text/TextEditor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ const TextEditor: React.FC = () => {
});
editor.on("keydown", function (e) {
if (e.key === "Escape") {
editor.execCommand("mceFullScreen");
if (
editor.plugins.fullscreen.isFullscreen()
) {
editor.execCommand("mceFullScreen");
}
}
});
},
Expand Down

0 comments on commit a1a31c4

Please sign in to comment.