Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Pull in a Markdown editor into the core that uses (or supports) github flavor of Markdown. It should be setup to easily be usable by the core and plugins in various locations.

      This can be used by creating a textarea field with the attribute "data-markdown-editor". All textarea fields with that attribute set will be converted to a markdown wysiwyg. Additionally, a "lang" attribute can be included on the same textarea field to include what language definitions to use for the markdown editor. This currently only supports 2-character language (e.g. "en", "es", or "fr"). The markdown editor does not currently support defining definitions for those languages, so only English is supported currently.

      1. Make any textarea field a markdown editor by including the attribute "data-markdown-editor", e.g.
        <textarea data-markdown-editor=''></textarea>
        
      2. Define a specific language for the markdown editor with the "lang" attribute, e.g.:
        <textarea data-markdown-editor="" lang="fr"></textarea>
        
        • By default, the editor will use the HTML document's language, unless overidden by the textarea field.
          <html lang="fr">
          ...
          <textarea data-markdown-editor=""></textarea>
          

      Add markdown editor support for tickets. Consider adding any necessary libraries to the core, as we may want to use this in other areas as well.

      Take a look at https://stackedit.io/, which supports Github flavored markdown, as well as others. http://www.codingdrama.com/bootstrap-markdown/ may be another possibility.

      Additional Options
      https://pandao.github.io/editor.md/ looks promising, MIT licensed, and a side-by side preview option that can be toggled on/off.

      When clients or admins open or respond to a ticket, they can use markdown syntax but there is no editor. Add the editor to both client and admin areas for opening or responding to tickets from the UI.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                22/Oct/18

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 34 minutes
                1d 1h 34m

                  Agile