-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Excerpts as they are seen in a post preview. #1288
Comments
I think we'll want an excerpt block to exist. |
That is a very good idea! |
Would excerpt block be locked to the first position in the editor once it is inserted? |
@westonruter most likely, yes, and it wouldn't get the "mover" controls. |
Should it be something you add via the popup - It would make sense to limit to only be added once, and then disable/fade it in the popup. On that note, such a feature would be nice in general for the API so third-party plugins could introduce blocks that have a specific limit to the amount of times it can be added to the editor. |
@mtias also I presume that the Excerpt's block contents should get stored in the |
@westonruter yes, correct. I had an issue for similar handling of featured images too. |
I don't think that's a good idea to lock the excerpt or other "meta box" like fields in place on top of the editor. As some of my projects are made so 50+ users can publish, it's already hard enough to teach the frontend and backend method to create and view content. Not mixing the main blocks and other blocks (excerpt-block) in one column/interface-part is very important for people which can not abstract as well as we (techy) web people/devs. IMHO: |
I think it is totally fine where it is located right now as part of the Document settings. But then we need a way to add various styling to it. It could actually behave like a block but inside the Document setting. |
This is a good one for looking at after the editing phase is done. |
A thought...
On a few of my sites I use a styled excerpt as part of the post preview on the front page.
I have added some code to add TinyMCE to the excerpts meta box so that I can make it a little nicer. Here is an example in Norwegian. The word Utdrag is the same as Excerpt.
When I go to the front page and look at the styling of the excerpt this is what I see:
Having a simple way to style the contents of the excerpt box directly would be of help or else it would just show up as a block of text.
The text was updated successfully, but these errors were encountered: