docs: remove class names from fiddle examples (#20596)

* docs: remove original class names in customize menus example

* docs: remove original class names in shortcuts example

* lint: run standard
This commit is contained in:
Vlad Hashimoto 2019-10-16 18:17:09 +03:00 committed by Shelley Vohr
parent 221ce70699
commit c73e34fb9e
3 changed files with 28 additions and 28 deletions

View file

@ -6,7 +6,7 @@
</head>
<body>
<div class="section-wrapper">
<div>
<h1>Customize Menus</h1>
<h3>
@ -22,7 +22,7 @@
<p>
Open the
<a href="http://electron.atom.io/docs/api/menu"
>full API documentation<span class="u-visible-to-screen-reader"
>full API documentation<span
>(opens in new window)</span
></a
>
@ -30,10 +30,10 @@
</p>
</div>
<div class="demo">
<div>
<h2>Create an application menu</h2>
<div class="demo-wrapper">
<div class="demo-box">
<div>
<div>
<p>
The <code>Menu</code> and <code>MenuItem</code> modules allow you to
customize your application menu. If you don't set any menu, Electron
@ -45,7 +45,7 @@
'App Menu Demo', you'll see an information box displayed.
</p>
<div class="demo-protip">
<div>
<h2>ProTip</h2>
<strong>Know operating system menu differences.</strong>
<p>
@ -63,7 +63,7 @@
<li>
<a
href="https://developer.apple.com/macos/human-interface-guidelines/menus/menu-anatomy/"
>macOS<span class="u-visible-to-screen-reader"
>macOS<span
>(opens in new window)</span
></a
>
@ -71,7 +71,7 @@
<li>
<a
href="https://msdn.microsoft.com/en-us/library/windows/desktop/bb226797(v=vs.85).aspx"
>Windows<span class="u-visible-to-screen-reader"
>Windows<span
>(opens in new window)</span
></a
>
@ -79,7 +79,7 @@
<li>
<a
href="https://developer.gnome.org/hig/stable/menu-bars.html.en"
>Linux<span class="u-visible-to-screen-reader"
>Linux<span
>(opens in new window)</span
></a
>
@ -90,12 +90,12 @@
</div>
</div>
<div class="demo">
<div>
<h2>Create a context menu</h2>
<div class="demo-wrapper">
<div class="demo-box">
<div class="demo-controls">
<button class="demo-button" id="context-menu">View Demo</button>
<div>
<div>
<div>
<button id="context-menu">View Demo</button>
</div>
<p>
A context, or right-click, menu can be created with the