Comments (3)
Thanks for the heads up, Im looking into this now
from c5_designer_content.
Can confirm I'm experiencing this issue too - any update?
Blocks I've created using non-wysywig seem to be unaffected by this.
from c5_designer_content.
Ok - I think I've sussed the root of the issue, although some who knows what they're doing will have to change the core plugin code and submit to the repo:
(note: I'm currently working on the plugin as per the file uploaded on the C5 thread as the Github one wouldn't install - see discussion for details).
According to the 5.7 docs here https://www.concrete5.org/documentation/developers/5.7/interface-customization/rich-text-editor/embedding-rich-text-editor/
"outputStandardEditor takes two parameters. The first is the name of the form element, and the second optional parameter is any content you want to appear in the text area."
If you go into your created block's edit.php file
Currently DC is outputting fields that look like this:
<?php print Core::make('editor')->outputStandardEditor('field_2_wysiwyg_content'); ?>
and change these lines to:
<?php print Core::make('editor')->outputStandardEditor('field_2_wysiwyg_content', $field_2_wysiwyg_content); ?>
The wysiwyg fields will work :-)
from c5_designer_content.
Related Issues (5)
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 c5_designer_content.