Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275406

Add copy-to-clipboard feature to snippet UI

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • tools
    • None
    • b22
    • generic
    • generic

    Description

      Support for code snippets was added to javadoc in JDK-8266666. Snippets are currently rendered as `<pre>` elements with relatively simple style. After discussing a few potential features for the snippets UI we decided to implement a copy-to-clipboard button first. This is generally useful, not very obtrusive, yet it also adds a visual clue to the new feature.

      Attachments

        Issue Links

          Activity

            People

              hannesw Hannes Wallnoefer
              hannesw Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: