mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
complete setting and editing description
This commit is contained in:
parent
c040e33a8a
commit
8f60a5efd6
10 changed files with 118 additions and 91 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react';
|
||||
import { copyToClipboard, getUrlData } from '$utils/history';
|
||||
import { toTranslit } from '$utils/format';
|
||||
import { toTranslit, parseDesc } from '$utils/format';
|
||||
import { TIPS } from '$constants/tips';
|
||||
import { MODES } from '$constants/modes';
|
||||
import { Icon } from '$components/panels/Icon';
|
||||
|
@ -116,7 +116,7 @@ export class SaveDialog extends React.Component<Props, State> {
|
|||
minRows={2}
|
||||
maxRows={5}
|
||||
placeholder="Описание маршрута"
|
||||
value={description}
|
||||
value={parseDesc(description)}
|
||||
onChange={this.setDescription}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue