mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 05:02:24 -06:00
[feature] Support markdown format for Account bio/note (#1037)
* [feature] Status format also controls bio format * test
This commit is contained in:
parent
2216f253c1
commit
67106c9dc4
6 changed files with 54 additions and 10 deletions
|
|
@ -69,14 +69,14 @@ module.exports = function UserProfile() {
|
|||
<div className="files">
|
||||
<div>
|
||||
<h3>Header</h3>
|
||||
<File
|
||||
<File
|
||||
id="header"
|
||||
fileType="image/*"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Avatar</h3>
|
||||
<File
|
||||
<File
|
||||
id="avatar"
|
||||
fileType="image/*"
|
||||
/>
|
||||
|
|
@ -101,7 +101,7 @@ module.exports = function UserProfile() {
|
|||
id="enable_rss"
|
||||
name="Enable RSS feed of Public posts"
|
||||
/>
|
||||
{ !allowCustomCSS ? null :
|
||||
{ !allowCustomCSS ? null :
|
||||
<TextArea
|
||||
id="custom_css"
|
||||
name="Custom CSS"
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ module.exports = function UserSettings() {
|
|||
}>
|
||||
<a href="https://docs.gotosocial.org/en/latest/user_guide/posts/#privacy-settings" target="_blank" className="moreinfolink" rel="noreferrer">Learn more about post privacy settings (opens in a new tab)</a>
|
||||
</Select>
|
||||
<Select id="source.status_format" name="Default post format" options={
|
||||
<Select id="source.status_format" name="Default post (and bio) format" options={
|
||||
<>
|
||||
<option value="plain">Plain (default)</option>
|
||||
<option value="markdown">Markdown</option>
|
||||
|
|
@ -99,7 +99,7 @@ function PasswordChange() {
|
|||
setError("New password and confirm new password did not match!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
setStatus("PATCHing");
|
||||
setError("");
|
||||
return Promise.try(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue