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
Product & Category Description to be Parsed by Smarty #3427
Comments
corrupts to
|
I cannot reproduce your corruption. |
Hmm. Does this work for you? Screen.Recording.2024-03-13.at.16.46.54.mp4 |
That does not happen for me. |
Which browser? I wonder if it's my version of Chrome. |
Latest Firefox. |
Hmm. Same fault in Safari. I'll try the demo store... |
Editing email templates should have the same problem, no? |
It works on the demo store https://demo.cubecart.com/cc6 Something must be different in my development build.... |
Might have to try the Store Settings, Copyright. |
Changing the config file from;
to this fixes it. So one of the new plugins for emoji is breaking it.
|
It works with one instance of ckeditor but not two. We have a description and short description. |
This is a real headache |
I think there is a compatibility issue with the showprotected plug-in and the latest version of ckeditor. It works when there is one instance of CKE but not two. It's far to advanced for me to debug and the code is minified. Maybe we can revisit this later. |
Did not the 'short_description' always have the showprotected effect? Honestly, I never checked because I never planned to parse the short description. |
The main config loads Maybe there is a work around.. Screen.Recording.2024-03-14.at.16.53.16.mp4 |
Again, not able to replicate your observation. |
Are you using the latest GitHub build?
…On Thu, 14 Mar 2024, 18:03 Brian Smither, ***@***.***> wrote:
Again, not able to replicate your observation.
—
Reply to this email directly, view it on GitHub
<#3427 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCPWY4IBF5YLR2ABHLYSG3YYHRATAVCNFSM6AAAAAA7J2M7U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYGAZTOMZUG4>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
CC653. I also played with the CC demo. I have no issues there. A key difference I see is that CC654 is expected to be using CKEditor 4.22.1, where CC653 is using CKEditor 4.12.1. Did you not find that the extraPlugins, other than I will fetch CKEditor 4.22.1 and play with it. |
Using the largest pre-built package of CKEditor4.22.1, the observations mentions earlier are confirmed. However, my first experiment is on the Store Settings, Copyright and Offline tabs. Further experiments show that editing config.js as follows:
does not corrupt the editor contents. Restoring So, this suggests that there is a fault with |
There are differences in the CKEditor core file htmldataprocessor.js, function |
Analysis so far suggests (actually, a guess) that every instance of the editor that gets spun up per page request reads and implements the settings in In htmldataprocessor.js, My wild guess is that, now in this version, is: replacing |
The following is my fix. Test extensively!
Not pushing it onto the array. Just making it that array. |
That works and it works well! Are you an actual genius Brian? Seems very much like you are. |
Yes. Yes, I am. |
I did think so. It's official now.
…On Fri, 15 Mar 2024, 15:19 Brian Smither, ***@***.***> wrote:
Are you an actual genius Brian?
Yes. Yes, I am.
—
Reply to this email directly, view it on GitHub
<#3427 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCPWY25F4IXCFJOVSLF25LYYMGPNAVCNFSM6AAAAAA7J2M7U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJZHA4TCMJUGM>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Feature Request:
On the admin, Product, Add/Edit, Description tab, add a checkbox that will cause to send the content through Smarty prior to displaying on the storefront.
products.index.php:
catalogue.class.php:
language.xml:
Database table CubeCart_inventory: add column 'product_parse', TINYINT:1 UNSIGNED NULL DEFAULT 0
The text was updated successfully, but these errors were encountered: