Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58240

Plugins should be able to provide onBlur for codemirror textarea

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Placeholder for https://github.com/jenkinsci/jenkins/pull/4046

      Currently, plugins cannot cleanly provide a custom onBlur handler for their codemirror textareas, because it is being overridden in core. This has been the case since 4e48eaa, but it does not look like that side-effect has been intentional.

      (Plugins could work around this in a hackish way, by adding })// at the end of their codemirror-config.)

       

        Attachments

          Activity

          Show
          oleg_nenashev Oleg Nenashev added a comment - Workaround example: https://github.com/jenkinsci/jenkins/pull/4046#issuecomment-497481088

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: