A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix(#997): optimize editor tips
haitao(lj)51d977079de2
diff --git a/ui/src/i18n/locales/en.json b/ui/src/i18n/locales/en.jsonindex 8eb63d44..297cbdbc 100644--- a/ui/src/i18n/locales/en.json+++ b/ui/src/i18n/locales/en.json@@ -1,7 +1,7 @@{"how_to_format": {"title": "How to Format",- "description": "<ul><li><p>to make links</p><pre><code><https: //url.com><br/><br/>[Title](https: //url.com)</code></pre></li><li><p>put returns between paragraphs</p></li><li><p><em>italic</em> or **<strong>bold</strong>**</p></li><li><p>indent code by 4 spaces</p></li><li><p>quote by placing > at start of line</p></li><li><p>backtick escapes <code>`like _so_`</code></p></li><li><p>create code fences with backticks `</p><pre><code>``` <br/>code here<br/>```</code></pre></li></ul>"+ "description": "<ul><li><p>to make links</p><pre><code><https://url.com><br/><br/>[Title](https://url.com)</code></pre></li><li><p>put returns between paragraphs</p></li><li><p><em>_italic_</em> or **<strong>bold</strong>**</p></li><li><p>indent code by 4 spaces</p></li><li><p>quote by placing > at start of line</p></li><li><p>backtick escapes <code>`like _so_`</code></p></li><li><p>create code fences with backticks `</p><pre><code>``` <br/>code here<br/>```</code></pre></li></ul>"},"pagination": {"prev": "Prev",diff --git a/ui/src/pages/Questions/Ask/index.tsx b/ui/src/pages/Questions/Ask/index.tsxindex 9cff9604..a576b520 100644--- a/ui/src/pages/Questions/Ask/index.tsx+++ b/ui/src/pages/Questions/Ask/index.tsx@@ -414,7 +414,7 @@ const Ask = () => {{t('title', { keyPrefix: 'how_to_format' })}</Card.Header><Card.Body- className="fmt"+ className="fmt small"dangerouslySetInnerHTML={{__html: t('description', { keyPrefix: 'how_to_format' }),}}