We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PR suggestion to make it work:
contenteditor-plugin/assets/contenteditor.js
Line 31 in f195dde
Change to const componentSelector = '*[data-file="' + name + '"]'; const handler = $(componentSelector).data('component'); // check for component name console.log('Processing [', name, '] - component [', componentSelector, '] - handler', handler); oc.request( componentSelector, handler, { data: { file: name, content: regions[name] } } );
The text was updated successfully, but these errors were encountered:
It would also be great to remove jquery dependency as it's not required anymore with ocms 3.x
Sorry, something went wrong.
Closed by #121
No branches or pull requests
PR suggestion to make it work:
contenteditor-plugin/assets/contenteditor.js
Line 31 in f195dde
Change to
const componentSelector = '*[data-file="' + name + '"]';
const handler = $(componentSelector).data('component'); // check for component name
console.log('Processing [', name, '] - component [', componentSelector, '] - handler', handler);
oc.request(
componentSelector,
handler,
{
data: {
file: name,
content: regions[name]
}
}
);
The text was updated successfully, but these errors were encountered: