anchor.diff:  === Selecting a different JetBrains JDK using the "`Choose Runtime`" plugin
   
   This is recommended for Android Studio 4.2 and 2020.3+ that doesn't ship with either JavaFX or JCEF support.
  -You can watch https://issuetracker.google.com/issues/159933628[this issue] in Android Studio's issue tracker for the progress.
  +Watch https://issuetracker.google.com/issues/159933628[this issue] in Android Studio's issue tracker for progress.
   
   JavaFX preview that used to work with Android Studio 4.0 will not work with Android Studio 4.2 as it doesn't package the necessary classes in the IDE.
   Therefore, follow these steps to enable JCEF preview for Android Studio.
  
positive.code: 
  On macOS there is no copy-and-paste from the JCEF preview in IntelliJ 2020.2.
  This is fixed in IntelliJ 2020.3 (see issues https://youtrack.jetbrains.com/issue/IDEA-241604/[IDEA-241604] and https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/533[asciidoctor-intellij-plugin/#322]).
  As a workaround, open the preview in the browser by clicking on your favorite browser symbol when hovering in the upper right corner of the editor and copy the contents from the browser window.
  
  == Benefits of the JCEF preview
  
  [[devtools]]
  JCEF preview is an embedded Chrome browser.
  After https://plugins.jetbrains.com/docs/intellij/enabling-internal.html[enabling the internal mode^] users can right-click on the preview and use "`Open DevTools`".
  This opens a fully equipped Chrome developer tools window that allows users to inspect the HTML created in the preview and to view the JavaScript console of the preview.
  
  [NOTE]
  ====
  // https://youtrack.jetbrains.com/issue/IDEA-276906
  Starting from IntelliJ 2021.3, set the property `ide.browser.jcef.contextMenu.devTools.enabled` to `true` to enable this feature.
  
  The registry is avaialble via menu menu:Help[Find action...], then enter "`Registry`" to search the action, then choose "`Registry...`".
  In the dialog that opens, start typing the property key given above to restrict the list.
  Check the checkbox on the right to enable this property.
  Press btn:[Close] to close the dialog.
  
negative.code: [[limitations]]
  == Limitations of the JCEF preview
  
  When using tool windows in the undocked mode prior to plugin version 0.35.1, the preview will overlap with the tool window.
  See issue https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/751[#751] for details.
  
  The JCEF preview doesn't support the IntelliJ proxy configuration prior to 2021.1.
  Configuring a proxy for JCEF requires an IDE restart.
  Therefore, remote images in the preview might not show for users behind a proxy.
  See '`xref:faq/jcef-no-proxy-support.adoc[]`' for more information.
  
  Once a JCEF preview is open in a project, it now and then brings the focus to the project when editing files in a different window in IntelliJ 2020.2.
  