1. 18 5月, 2017 4 次提交
    • M
      Load script async in markdown preview · 799fa528
      Matt Bierner 提交于
      799fa528
    • M
      Fix a potential null reference · a67048c2
      Matt Bierner 提交于
      a67048c2
    • M
      Fix webview scroll positon sometimes being reset · 67e76b81
      Matt Bierner 提交于
      Fixes #25125
      
      **Bug**
      Sometimes the scroll position of webviews is reset. The root cause seems to be rapid edits to the markdown preview resulting in the creation of multiple old content iframes
      
      **Fix**
      Only maintain two iframes at most. Ensure that these are properly used when updating
      67e76b81
    • M
      Preserve Webview Scroll Position (#26426) · dea44c8f
      Matt Bierner 提交于
      * Preserve Webview Scroll Position
      
      Fixes #22995
      
      **Bug**
      If you switch away from an editor that users a webview, the scroll position is currently not preserved. This effects our release notes and the markdown preview. The root cause is that the webview is disposed of when the view is hidden.
      
      **Fix**
      Add some presisted state to track scrollProgress through the webview. Use this state in the standard html editor and in the release notes.
      
      * Use view state
      
      * Continue prototype memento based approach
      
      * Preserve Webview Scroll Position
      
      Fixes #22995
      
      **Bug**
      If you switch away from an editor that users a webview, the scroll position is currently not preserved. This effects our release notes and the markdown preview. The root cause is that the webview is disposed of when the view is hidden.
      
      **Fix**
      Add some presisted state to track scrollProgress through the webview. Use this state in the standard html editor and in the release notes.
      
      * Revert changes to ReleaseNotesInput
      dea44c8f
  2. 06 5月, 2017 1 次提交
  3. 20 4月, 2017 1 次提交
  4. 14 4月, 2017 4 次提交
  5. 11 4月, 2017 1 次提交
    • M
      Tweak HTML Preview Styling (#24280) · 96b49f6f
      Matt Bierner 提交于
      Two changes:
      
      * Changes the logic from 41467b74 to make the padding customizable. The default 20px padding is preserved, but now preview can customize if they want to use it or not. This allows html preview page background colors to correctly fill the entire frame.
      
      * Remove Writing the `_defaultStyles` to the root of the webview elment. These are only needed inside of the iFrame itself
      96b49f6f
  6. 16 3月, 2017 1 次提交
  7. 08 3月, 2017 1 次提交
  8. 06 3月, 2017 1 次提交
  9. 04 3月, 2017 1 次提交
    • M
      Add Enhanced Security Settings to Markdown Preview · 4ebfc2fc
      Matt Bierner 提交于
      Adds enhanced security settings for the markdown preview. The new flow disable all scripts within the preview itself. Users can enable scripts on a per workspace basis.
      
      When a markdown document that uses scripts is loaded, a warning is shown inside the document itself. This warning triggers a new security selector quick pick which allows users to enable or disable enahanced security in the workspace.
      4ebfc2fc
  10. 02 3月, 2017 1 次提交
  11. 01 3月, 2017 3 次提交
  12. 09 2月, 2017 1 次提交
  13. 08 2月, 2017 1 次提交
  14. 26 1月, 2017 2 次提交
    • B
      fix build · 6ba4282f
      Benjamin Pasero 提交于
      6ba4282f
    • M
      Fixes Webview reload Flickering (#19394) · 6fe2bae3
      Matt Bierner 提交于
      **Bug**
      When refreshing a webview, a slight flicker can sometime be seen. This is especially noticable when using the markdown preview.
      
      **Fix**
      Instead of replacing the content of the iframe for refresh, create a new iframe with the new content and do a swap to update.
      6fe2bae3
  15. 25 1月, 2017 1 次提交
  16. 19 1月, 2017 1 次提交
    • M
      Prototyping Markdown Preview Synchronization With Editors (#18762) · b29ef9b4
      Matt Bierner 提交于
      * Adds command to post a message to an html preview
      
      **Bug**
      There is currently no easy way to communicate with an html preview document after the preview has been created.
      
      **Fix**
      Adds a command called `vscode.htmlPreview.postMessage` to post a message to a visible html preview. This message will only be posted if the target preview is visible.
      
      Inside the preview, the event is recieved using the standard dom event:
      
      * Remove logging
      
      * proto
      
      Continue proto
      
      * clean up rendering
      
      * Gate prototype
      
      * Fix gating
      
      * Remove public command
      
      * Change setting name
      
      * Added current position indicator
      
      * Reveal center
      b29ef9b4
  17. 14 1月, 2017 1 次提交
  18. 02 12月, 2016 1 次提交
    • M
      Fix markdown preview scrolling issue (#16334) · 393c5a8e
      Matt Bierner 提交于
      **Bug**
      In the markdown preview, clicking on a page link causes the editor to go blank. This effects our release notes.
      
      **Fix**
      Fix the webview pre script which was accidentially slightly changed when it was extracted.
      393c5a8e
  19. 17 11月, 2016 2 次提交