Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add active button filter #509

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions www/application/views/templates/editor/landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,19 +257,21 @@
"blockFilterButtonClass" : ".js-block-tools-filter",
"allToolsFilterButtonClass" : ".js-all-tools-filter",
"blockToolsClass" : ".js-block-tool",
"inlineToolsClass" : ".js-inline-tool"
"inlineToolsClass" : ".js-inline-tool",
"filterButtonClass": ".js-plugins-filter",
"filterButtonActiveClass": "editor-landing__plugins-filter-button--active"
}
</module-settings>

<span class="editor-landing__plugins-filter-button js-block-tools-filter">
<span class="editor-landing__plugins-filter-button js-plugins-filter js-block-tools-filter">
<? include(DOCROOT . '/public/app/landings/editor/svg/plus-icon.svg'); ?>
Blocks
</span>
<span class="editor-landing__plugins-filter-button js-inline-tools-filter">
<span class="editor-landing__plugins-filter-button js-plugins-filter js-inline-tools-filter">
<? include(DOCROOT . '/public/app/landings/editor/svg/marker-icon.svg'); ?>
Inline Tools
</span>
<span class="editor-landing__plugins-filter-button js-all-tools-filter">
<span class="editor-landing__plugins-filter-button editor-landing__plugins-filter-button--active js-plugins-filter js-all-tools-filter">
All
</span>
</div>
Expand Down Expand Up @@ -376,4 +378,4 @@
</section>

</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
Try our best plugins or create your own

<div class="product-card__right-menu">
<a target="_blank" href="https://github.com/codex-editor/paragraph">Paragraph</a>
<a target="_blank" href="https://github.com/codex-editor/header">Header</a>
<a target="_blank" href="https://github.com/codex-team/codex.editor/tree/master/plugins/image">Image</a>
<a target="_blank" href="https://github.com/codex-editor/link">Embeded Link</a>
<a target="_blank" href="https://github.com/codex-editor/personality">Personality</a>
<a target="_blank" href="https://github.com/codex-editor/image">Image</a>
<a target="_blank" href="https://github.com/codex-editor/table">Table</a>
<a target="_blank" href="https://github.com/codex-editor/embed">Embed Tool</a>
<a target="_blank" href="https://github.com/codex-editor/list">List</a>
</div>

<a href="https://github.com/codex-editor">View full catalog</a>
Expand Down
Loading