Git Product home page Git Product logo

iceberg-editor's Introduction

Iceberg editor for WordPress

With Iceberg, you get what you need to write beautifully in WordPress, along with many delightful extras you’d never expect. Your next favorite writing application just may be WordPress + Iceberg. Iceberg allows you to write within the WordPress block editor in a way that feels much more natural than working with “blocks”. Our goal is not to remove blocks, but rather to deemphasize them – and any non-essential elements within the editor – to promote a focus on writing.

Read more about Iceberg →

Iceberg editor for publishers using WordPress

Generate translations Deploy demo

Development

  1. Download or clone this GitHub repository into your local site's wp-content/plugins directory
  2. Browse to the folder using the command line
  3. Run npm run setup to install node and composer dependencies
  4. Run npm start for development, which includes running Browsersync

Contributing

If you are feeling a little lost, know that you are welcome to submit an issue on any topic, or even submit a pull request on any issue. The worst that can happen is that you'll be politely directed to the best location to ask your question.

We appreciate all contributions and don't want a wall of rules to get in the way of that. That saying, please read our Contributing Guidelines and know that you're expected to follow our Code of Conduct.

Ways to contribute:

  1. Raise an issue to report a bug or feature request
  2. Submit a pull request with bug fixes and/or new features
  3. Provide ideas, feedback, mockups, and suggestions on enhancements
  4. Join the conversation and contribute your voice

iceberg-editor's People

Contributors

johnstonphilip avatar katjapvl avatar lint-action avatar phpbits avatar richtabor avatar szepeviktor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

weszty jaz-on

iceberg-editor's Issues

Access to more blocks (outside of basics)

It would be great to have access to other blocks we are installed on our site.

As a company, we use a lot of ACF Blocks for content pieces. It would be excellent to allow us to use 3rd party blocks.

Sometimes the cursor disappears

Describe the bug

Sometimes the cursor disappears when working with paragraph text (and maybe more).

To reproduce:

I'm not able to reliably reproduce. Will update if I figure it out.

I'm on FF Mac Latest, Iceberg latest, Mustard Seed, Gberg plugin latest.

Numbered lists always start at one

Problem

Sometimes numbered lists are broken up by blocks like images or code blocks. When they resume, they start over at 1. This setting can be changed in the Gutenberg editor. I wonder if you could simplify that by just counting up from whatever number the user starts with. For example, if they start with 3. , then you could start the list at 3.

Screenshots of current behavior

IMAGE 2020-05-26 22:05:25
IMAGE 2020-05-26 22:05:31

Allow accessing other article features from Iceberg

Is your feature request related to a problem? Please describe.

I should be able to access setting up featured article image, excerpt and other things that live inside editor without having to exit Iceberg editor. I'd like to create everything on Iceberg. Now I have to exit Iceberg to add photos, tags, category and excerpt after completing the actual writing process.

Describe the solution you'd like

Add some minimal menu to a corner that opens up these features in minimal manner. Do not include other less useful stuff that Gutenberg includes.

Describe alternatives you've considered

A modal or hotkey if possible.

Cannot use as default when accessing from direct link

Describe the bug:

Iceberg is set as default. When accessing post-new.php url directly, cannot always see Iceberg. What I'm trying to do is create a Fluid or nativefier app for Iceberg on Mac to enable one click & write -way of blogging. That would need a direct url to post-new.php.

To reproduce:

When I go to https://www.mysite.com/wp/wp-admin/post-new.php I see Gutengerg. On the second time I go I see Iceberg. On the third time I see Gutenberg. On the fourth Iceberg...

Expected behavior:

I should see Iceberg editor. as default.

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

5.4.2

How to create your own styles or add fonts

Is your feature request related to a problem? Please describe.

I should be able to / would like to add my own fonts or create my own CSS.

Describe the solution you'd like

Add documentation on how to create your own styles.

register_rest_route is being called incorrectly

Describe the bug:

The following notice (screenshot) is present within WP 5.7.

Expected behavior:

No errors are present.

Screenshots:

Screen Shot 2021-03-10 at 6 59 55 PM

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

5.7

Gutenberg version:

n/a

ISBAT Use my Reusable Blocks in Iceberg; ISBAT Enable 3rd Party Blocks in Iceberg

Is your feature request related to a problem? Please describe.

I should be able to add Reusable Blocks to Iceberg; I should also be able to whitelist 3rd party blocks for use in Iceberg.
The Gutenberg ecosystem is massive and limiting the editor to just the builtin' blocks is a waste. The "extras" could be in some advanced settings and might not render correctly, but having the option at the very least is critical.

Describe the solution you'd like

A simple menu with on/off switches for 3rd party/reusable blocks.

Describe alternatives you've considered

Going back and forth from Iceberg to the standard editor or leaving TODOs, but that breaks the flow of writing. I should be able to add a Click to Tweet block however ugly it renders.

Additional context/screenshots

n/a;

Thanks!

BUG: You made the styling too nice

Describe the bug:

You made the styling and text choices too pleasant. Now I would like to see it as a front-end gberg theme. Just saying...

Does not work in guttenberg, not I can npm run setup

Hi. My aim is not developt the iceberg, I just want to install the plugin. When I activate it and click on the Edit (with Iceberg) link, the guttenberg (wp 6.2.2) looks the usuall. No PHP/JS/network errors either.
I figured I may install some dependencies or whateve, so Itried npm run setup, but I'm getting awefull amount of warnings eventually ending with the process killed "Killed####⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠴ reify:fsevents: sill reify mark deleted ["

I'm not very versed in node so I may be overlooking something. Any hint where to look for the issue?

image ... eventually having the process killed image

Don't echo REST API response directly.

Describe the bug:

The email send endpoint for the REST API uses wp_json_encode and sends the response itself. It should be instead returning data for the REST API server to send.

if ( $sent ) {
    echo wp_json_encode( array( 'email_sent' => true ) );
} else {
    echo wp_json_encode( array( 'email_sent' => false ) );
}

die();

Can be changed to

return array( 'email_sent' => $sent );

ISBAT open the custom palette and custom typography controls with G8.5+

Describe the bug:

I should be able to open the custom editor theme/custom typography controls popover, when using Gutenberg 8.5+ and WordPress 5.5.

Expected behavior:

Works as it did prior to Gutenberg 8.5. Clicking "Edit typography" should bring up the typographic controls without closing the popover. Custom color palette should do the same.

Screenshots:

ScreenFlow

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

5.4

Gutenberg version:

8.5.1

EDD Enpoint Returning a 404

Describe the bug:

Iceberg tries to "Phone home" to check a valid license key by hitting the end point https://useiceberg.com/edd-sl-api/ However, this endpoint returns a 404.

To reproduce:

  1. Go to https://example.com/wp-admin/plugins.php
  2. Open the browser inspector
  3. See the 404 error.

This error can also be seen by cURLing the URL:

$ curl -I https://useiceberg.com/edd-sl-api
HTTP/2 404

Note I am using the Query Monitor plugin in the screenshot below which makes it easy to see this endpoint failure.

Expected behavior:

The API key to be validated successfully.

Screenshots:

Screenshot 2023-07-11 at 2 45 48 PM

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

6.2.2

Iceberg version:

1.4.2

Iceberg is used no matter what

Describe the bug:

When I click on "Edit" I expect Gutenberg to be used. I expect Iceberg to only be used when I click on "Edit (Iceberg)".

Screen Shot 2020-05-20 at 11 05 09 AM

To reproduce:

  1. Create a new post using Iceberg.
  2. Click "Edit", and notice it does not open with Gutenberg, but with Iceberg.

Expected behavior:

I expect Iceberg to only be used when I click on "Edit (Iceberg)".

Side thought:

This whole problem makes me think that core needs a proper "editor selector" solution, allowing you to pick your editor, and having a column in the posts table to indicate the Editor used.

This would allow people to use Iceberg for one post, Gutenberg for another, and even other editors like Elementor and Divi, without there being any ambiguity about which editor is going to open. The REST API is only going to increase the number of publishing flows we see invented. But that's probably something to discuss on Trac as opposed to here.

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

Version 5.4.1

Render markdown directly

Is your feature request related to a problem? Please describe.

I should be able to see formatting instantly. Markdown is brilliant, I love it, but I'm not very fond of seeing hashtags or stars in my text.

Describe the solution you'd like

I love the way Typora does this, here's the video:

Demo

Would it be possible to have this in the future? This would be make the writing experience near perfect!

Code Block: Show two horizonal scroll bars

Adding this snippet add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 ); to a post resulted in two horizontal scrollbars.

To reproduce:

Add the snippet to a post

Expected behavior:

I didn't think that the line would be big enough to have any scrollbars, let alone two.

Screenshots:

Screen Shot 2020-10-15 at 8 03 21 AM

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with the default Twenty Twenty WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

I am in the middle of testing other functionality, just didn't want to loose this issue. I will come back and double-check on the items.

WordPress version:

5.5.1

Gutenberg version:

9.1

ISBAT open a post without leaving the editor

This is a feature idea. My initial thought is to use a shortcut e.g CMD+O then a search bar will open kinda similar to mac Spotlight search then when the user starts typing suggestions will be displayed. Selecting will open that post.

npm setup doesn't seem to be the right command.

Describe the bug:

The instructions say to run npm setup to install dependencies, but I think the command should be npm run setup. Running npm run setup works for me.

To reproduce:

Attempt to run npm setup on the command line. Notice you get a response that gives npm instructions, instead of the command running.

Expected behavior:

The npm setup procedure exectues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.