Editor Raw Mode – Suggestions
-
Using latest (as before 1 hour) 2.9.8.9 pre-lease from Github.
Right now the Raw Mode seems to work fine for me. There is however one problem if switching backward and forward.
In case I disable raw mode – and then have the qtranslate-x editor with possibility to choose language – upon saving it will replace my [:en] or [:de]shortcodes with the full language html tags before and after…
It does not make much sense to use full html version using raw editor mode – because it get’s hacky to see what’s going on.
So some solutions that would work:
a) if raw mode enabled – convert all language tags to shortcodes in the editor (at least in the frontend).b) Never convert from shortcodes to full language tags with raw mode disabled (probably the easiest solution).
c) add option whether shortcodes or full language tags are set by default.
Feature Request/Suggestion
— As a general thought. Raw Mode is great because at least I think it is the most robust. Now here comes a suggestion that would make it a semi-raw-mode kinda, but really useful.Often I have many pictures/link lists/tables in my website – that don’t need any translation (yes I know – changing the tags of an image in language too is nice for SEO, but really I cannot think it is worth the effort for me). Now the way qtranslate works is that we define languages and then add everything for each language.
I would love to have a stop translate shortcode and the following behaviour
[:/langauge]….content for all languages – e.g. pics, tables, links
[:en] English text/content
[:de] German text/content
[:/language]… again cotent for all languages
[:en] English text/content
[:de] German text/contentand so on. This would really save me time translating posts/pages. Now while this would probably be difficult to enable for single language editor modes – it would really be cool for using raw editor mode. Maybe it could even reduce the performance penalty of qtranslate? Now this feature suggestion is not so important as fixing the above problem, but would be very cool.
- The topic ‘Editor Raw Mode – Suggestions’ is closed to new replies.