Comments (7)
I got similar problems with some clients. So I made a BIG message on the edit page screen to explain more how is the process with Tailor. But to display a big message, I needed some html markup. It's why I did this pull request #38.
But maybe wp_editor should be completely hidden or hidden with an overlay and the message above.
from tailor.
The challenge here is that the post content (which is just simple HTML) lacks information about the layout, which is stored separately in post meta. Translating changes made within the editor into the Tailor layout is therefore no easy task.
Disabling the editor is certainly possible, but must be done carefully.
The reason for having the editor both visible and accessible is to prevent users from being locked out of making simple content changes after having "Tailored" a post or page. Although I am still extremely hesitant to block people from core WordPress functionality (like editing posts), I understand where you are coming from here and recognise that for some developer/customer relationships this may be the best option.
I'm thinking we could have this be something that people "opt-in" to on the Settings page (but also allow developers to filter the default setting so people in your situation don't need to necessarily educate users on the topic). I see @diogocsc has made this recommendation in one of the related issues.
Happy to explore options here. Does anyone have any code we could use as a starting point for this?
from tailor.
@andrew-worsfold, what do you mean by enhancement? After changing a toggle content area in WP Editor and then Edited throught Tailor, WP edit is overwriten.
As for code, maybe this is a good starting point ? : https://gist.github.com/atomtigerzoo/0dd49ed9ca67ec111465 ?
from tailor.
Hello Andrew, can you please help me with Tailor problem?
I'm getting this message when I'm editing a page from my WP:
'' Changes made to this page within the publisher will not be displayed in Tailor. Delete layout ''
What does that mean?
I click to close it, but she insists on appearing again, what happens if I delete the layout?
Please help me.
from tailor.
Hi @ThiagoAlbergoni -
Tailor stores information about the layout of the page as meta data and saves the resulting HTML as post content. This way the content is just that, content, and doesn't need to be processed during a page load (there are other reasons too, which I won't get in to).
The message that you're referring to simply means that if you edit the actual post content in the editor, that's what you'll see on the front end but it will differ from the stored layout information. The next time you launch Tailor, it will use the stored layout information to build the preview (which will differ from the saved content).
I hope that makes sense.
Cheers,
Andrew.
from tailor.
from tailor.
Has this been fixed? Looks like the content (mostly text) that I added directly inside the WordPress editor is preserved in Tailor.
from tailor.
Related Issues (20)
- Move inline css to a file? HOT 1
- Percent sign (%) character in URL breaks button element
- Box Title Does not center correctly
- [Concept] Tree Shaking Frontend CSS & Stylesheets a lot
- Clone and modify the Section Element
- "Minimum screen size" option not available for "Posts" element
- Dynamic content element: Inner HTML revert back to placeholder HOT 2
- Responsive Issues for Carousel Element HOT 1
- WPML Support HOT 1
- Extend responsive breakpoint
- Gracefully handle WP Engine's Heartbeat API blocking HOT 1
- Columns not rendering properly in theme / on site HOT 1
- Unable to close editing box on Wordpress 4.9 HOT 14
- Interested in taking on this project
- Elements model window css problem
- editor doesn't start on sandstorm.io wordpress
- Post title reverts to `_post_title` HOT 3
- Extending: New $atts not found in php using Sample Extension HOT 1
- How to make text mode HOT 1
- Tailor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailor.