Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-23

If there is no custom autocomplete page for the current mode, use showHint's fallbacks

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      The improvements is simple:

      ...
      if (failedId === autocompleteModule) {
        requirejs.undef(failedId);
      
        // Fallback on the 'auto' hint.
        CodeMirror.showHint(cm)
      }
      ...
      

      Basically we should fallback on the 'auto' hint or at least on the 'hintWords' (which is more valuable).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: