Procházet zdrojové kódy

Track issue GW-5368

Tatsunori Uchino před 5 roky
rodič
revize
7d20ca60ec
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/client/js/components/PageEditor.jsx

+ 1 - 0
src/client/js/components/PageEditor.jsx

@@ -62,6 +62,7 @@ class PageEditor extends React.Component {
     this.saveDraftWithDebounce = debounce(800, this.saveDraft);
     this.saveDraftWithDebounce = debounce(800, this.saveDraft);
 
 
     // Detect indent size from contents (only when users are allowed to change it)
     // Detect indent size from contents (only when users are allowed to change it)
+    // TODO: https://youtrack.weseek.co.jp/issue/GW-5368
     if (!this.props.appContainer.config.isIndentSizeForced && this.state.markdown) {
     if (!this.props.appContainer.config.isIndentSizeForced && this.state.markdown) {
       const detectedIndent = detectIndent(this.state.markdown);
       const detectedIndent = detectIndent(this.state.markdown);
       if (detectedIndent.type === 'space' && new Set([2, 4]).has(detectedIndent.amount)) {
       if (detectedIndent.type === 'space' && new Set([2, 4]).has(detectedIndent.amount)) {