Comments (12)
I have the same problem
from umbraco-vorto.
As there is no official documentation on how property editor developers should handle the preview mode of the new doc type editor, anything we implement would technically be a hack. Given this doesn't break functionality at all, it just doesn't look nice for the developer, my thoughts are to hold of till there is some official guidance on how these should be handled.
from umbraco-vorto.
Don't know if this is a step too far or not related but the content in an RTE in a Grid in Vorto doesn't survive the first language switch. i.e. fr to de ok, back to fr, RTE broken (html showing).
from umbraco-vorto.
from umbraco-vorto.
My thoughts are that previews (if required) it# should simply be done by css targeting, this might even be possible without any core changes now?
from umbraco-vorto.
from umbraco-vorto.
As a developer of various property editors, a separate view for the preview seems like a good idea to me.
Alternatively we can do some extra checks in the controller of the individual property editors, but right now that would probably be checking if the property editor is within an element with a certain class (that is, hacky at the moment).
Possible there could be an optional config parameter for a preview view, which gives developers some separation between the primary view and the preview view. If not specified, it would be up to the developer to handle the preview in the primary view (or it's controller).
I understand that there might be more important stuff in the pipeline, but some documentation on this would be awesome.
from umbraco-vorto.
There is no "documentation" because this isn't something that was really considered.
A feature request needs to be created (if one doesn't exist already) and we can discuss ways to implement it..... But I don't see what a separate view achieves over just targeting css classes. You can toggle display on/off with this approach which achieves the same thing (and it might actually work as it is today)
from umbraco-vorto.
from umbraco-vorto.
Ok cool, well we'll support both ways, I think for many devs it will be just easier to style but if devs need advanced stuff we can register a preview view
from umbraco-vorto.
For sure, my main thing is just to have an official method of doing either, rather than devs just finding ways and means like we usually do :)
I've raised the feature request here http://issues.umbraco.org/issue/U4-8244 so I'll close this issue for now and continue the discussion there as I don't feel any point implemented an interim hack
from umbraco-vorto.
I have the same problem
what is solution?
from umbraco-vorto.
Related Issues (20)
- Examine search failure for keywords after carriage return when textarea editor with vorto
- Feature request - ModelsBuilder in Vorto HOT 2
- Optimisation: Cache language files for Vorto properties HOT 3
- Our.Umbraco.Vorto.Web.PropertyEditors.VortoPropertyEditor+VortoPropertyValueEditor - Error converting DB value to String HOT 6
- umbraco deploy & vorto-ising existing properties HOT 4
- Votro TextString - fallback to show TextString value on website & backoffice HOT 3
- Vorto API cause blocking when many Vorto properties exist on a document type HOT 1
- Vorto with many rich text fields loses content
- Issue in nested content template HOT 2
- Vorto in SurfaceController HOT 6
- Support for Umbraco v8
- GetVortoValue returns null in 1.7.0 version HOT 11
- Dropdowns and checkboxes HOT 4
- GetVortoValue Doesn't Recurse (v1.7.1) HOT 3
- using Vorto in my custom Sections HOT 1
- VortoValueConverter throws NullReferenceException with trashed content/media item HOT 4
- Porting / reimagining for v8
- Suggestion: Split Vorto into two projects HOT 1
- Make the package more strongly typed (generic typed) HOT 1
- Recursive GetVortoValue -> NullReferenceException HOT 8
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 umbraco-vorto.