Hide webflow test elements

This commit is contained in:
Jackson Harper 2023-07-24 12:35:18 +08:00
parent 545e396d6e
commit 48ed5ec745
2 changed files with 1 additions and 64 deletions

View file

@ -171,7 +171,7 @@ Readability.prototype = {
// Readability-readerable.js. Please keep both copies in sync.
articleNegativeLookBehindCandidates: /breadcrumbs|breadcrumb|utils|trilist|_header/i,
articleNegativeLookAheadCandidates: /outstream(.?)_|sub(.?)_|m_|omeda-promo-|in-article-advert|block-ad-.*|tl_/i,
unlikelyCandidates: /\bad\b|ai2html|banner|breadcrumbs|breadcrumb|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager(?!ow)|popup|yom-remote|copyright|keywords|outline|infinite-list|beta|recirculation|site-index|hide-for-print|post-end-share-cta|post-end-cta-full|post-footer|post-head|post-tag|li-date|main-navigation|programtic-ads|outstream_article|hfeed|comment-holder|back-to-top|show-up-next|onward-journey|topic-tracker|list-nav|block-ad-entity|adSpecs|gift-article-button|modal-title|in-story-masthead|share-tools|standard-dock|expanded-dock|margins-h|subscribe-dialog|icon|bumped|dvz-social-media-buttons|post-toc|mobile-menu|mobile-navbar|tl_article_header|mvp(-post)*-(add-story|soc(-mob)*-wrap)|w-condition-invisible/i,
unlikelyCandidates: /\bad\b|ai2html|banner|breadcrumbs|breadcrumb|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager(?!ow)|popup|yom-remote|copyright|keywords|outline|infinite-list|beta|recirculation|site-index|hide-for-print|post-end-share-cta|post-end-cta-full|post-footer|post-head|post-tag|li-date|main-navigation|programtic-ads|outstream_article|hfeed|comment-holder|back-to-top|show-up-next|onward-journey|topic-tracker|list-nav|block-ad-entity|adSpecs|gift-article-button|modal-title|in-story-masthead|share-tools|standard-dock|expanded-dock|margins-h|subscribe-dialog|icon|bumped|dvz-social-media-buttons|post-toc|mobile-menu|mobile-navbar|tl_article_header|mvp(-post)*-(add-story|soc(-mob)*-wrap)|w-condition-invisible|rich-text-block main w-richtext|rich-text-block_ataglance at-a-glance test w-richtext/i,
// okMaybeItsACandidate: /and|article(?!-breadcrumb)|body|column|content|main|shadow|post-header/i,
get okMaybeItsACandidate() {
return new RegExp(`and|(?<!${this.articleNegativeLookAheadCandidates.source})article(?!-(${this.articleNegativeLookBehindCandidates.source}))|body|column|content|^(?!main-navigation|main-header)main|shadow|post-header|hfeed site|blog-posts hfeed|container-banners|menu-opacity|header-with-anchor-widget`, 'i')

View file

@ -4,59 +4,6 @@
<div>
<p><img src="https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61ad5198a0b771acc191790b_eec0cac5-b630-404e-bdf9-956246dd0df7_1245x1538.jpeg" loading="lazy" sizes="(max-width: 991px) 100vw, (max-width: 1919px) 40px, 100vw" srcset="https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61ad5198a0b771acc191790b_eec0cac5-b630-404e-bdf9-956246dd0df7_1245x1538-p-500.jpeg 500w, https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61ad5198a0b771acc191790b_eec0cac5-b630-404e-bdf9-956246dd0df7_1245x1538-p-800.jpeg 800w, https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61ad5198a0b771acc191790b_eec0cac5-b630-404e-bdf9-956246dd0df7_1245x1538-p-1080.jpeg 1080w, https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61ad5198a0b771acc191790b_eec0cac5-b630-404e-bdf9-956246dd0df7_1245x1538.jpeg 1245w" alt="">
</p>
<div>
<P id="w-node-_11588a02-02d2-81d7-6f6c-31e416756fdb-5a05b82e">
<h2> written by </h2>
<h6 id="w-node-_274e9fe5-87bb-f980-9a9f-f355f09b3d0a-5a05b82e"> Sahil Bloom </h6>
</P>
<p><a id="w-node-afc33d66-8fe4-5874-db37-c043da367a01-5a05b82e" href="#">
<h6> Frameworks &amp; Tools </h6>
</a>
</p>
</div>
</div>
<div>
<h2> This is an H1 </h2>
<h2> This is an H2<br> This is an H2 </h2>
<h3> This is an h3<br> This is an h3 </h3>
<h4> This is an h4<br> This is an h4 </h4>
<p> The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. </p>
<p>
<a href="http://google.com/">Just double-click and easily</a>
</p>
<p>
<em>create content.</em>
</p>
<p> </p>
<figure>
<p><img src="https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/629fb40e69d2137744eea234_Screen%20Shot%202022-05-17%20at%2010.14.12%20AM.png" loading="lazy" alt="Caption">
</p>
<figcaption> mkcxslamklxsamklxsamklxsa </figcaption>
</figure>
<figure>
<p><img src="https://uploads-ssl.webflow.com/61a51f6d0f790c4eca5d8b97/61e5ce8278072c24953d00b8_Screen%20Shot%202021-12-24%20at%205.25.31%20PM.png" loading="lazy" alt="">
</p>
</figure>
<blockquote> A rich text element can be used with static or dynamic content. For static content, </blockquote>
<p> </p>
<p> just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. </p>
<p> </p>
<ol start="" role="list">
<li>This is a </li>
</ol>
<ul role="list">
<li>mcknklxs </li>
<li>nklxsnklxs </li>
<li>klxs </li>
</ul>
<h3> How to customize formatting for each rich text </h3>
<p> Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" </p>
<p>
<strong>nested selector</strong>
</p>
<p>
<a href="http://www.google.com/" data-w-id="274e9fe5-87bb-f980-9a9f-f355f09b3d31">system.</a>
</p>
</div>
<div>
<h6> Today at a Glance </h6>
@ -67,16 +14,6 @@
<li>The Paradox of Effort: You have to put in more effort to make something appear effortless. Effortless, elegant performances are often just the result of a large volume of effortful, gritty practice. Small things become big things. Simple is not simple. </li>
</ul>
</div>
<div>
<h2> Whats a Rich Text element? </h2>
<p> The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content. </p>
<h4> Static and dynamic content editing </h4>
<p> A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings <a href="http://google.com/">panel</a>. ! </p>
<p> </p>
<ul role="list"></ul>
<h4> How to customize formatting for each rich text </h4>
<p> Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system. </p>
</div>
</div>
<div>
<p> </p>