Comments (4)
@floelhoeffel There's not much to share, it's only CKEditor 4 with the adjustment of confirm
and alert
seen above :)
from ui-extensions-sdk.
That is an interesting usecase, thanks for the feedback. We are also thinking about doing something around notifications from extensions. I'll add it to our feedback pool, thanks!
from ui-extensions-sdk.
Another use case is CKEditor, which uses modals for inserting URLs or images. They work fine, but trigger a confirm() which is being supressed. I have a workaround using the ui-extensions-sdk dialogs:
var origConfirm = confirm;
confirm = function(message) {
extension.dialogs.openAlert({
title: 'Confirm changes',
message: message,
confirmLabel: 'Ja!',
cancelLabel: 'Nein.'
}).then(result => {
return result;
});
};
var origAlert = alert;
alert = function(message) {
extension.dialogs.openAlert({
title: 'Hinweis',
message: message
}).then(result => {
return result;
});
};
from ui-extensions-sdk.
Yes - we added support for our native dialogues to the SDK in v3.5.
@kiliansch any chance you plan to open source your extension? Curious to see what it does!
from ui-extensions-sdk.
Related Issues (20)
- `init` doesn't work when called too late HOT 7
- `window` used directly in library breaks SSR environments HOT 8
- Metadata (tags) changes are not reflected in the editor HOT 1
- Frontend URL availability HOT 2
- Conditional Field Rendering HOT 3
- Contentful Management : Entry's references method not working
- Change LocaleSettings for the Entry HOT 1
- `onMetadataChanged` not called in Compose view HOT 3
- Passing data to opened dialog app. HOT 1
- incorrect version from navigator.openEntry HOT 3
- Links/References all have the type `Link` which makes them not distinguishable HOT 5
- Unknown method "getEntries" HOT 2
- navigator.openCurrentAppPage({path}) Consistently Throwing Error HOT 1
- Missing Publish ContentType functionality
- space.getUsers() doesnt return all of users HOT 1
- Custom MultipleEntryReferenceEditor HOT 1
- Can't specify content-type to open with openEntriesList HOT 1
- Canary - cmaAdapter management client stopped working HOT 4
- How can I upload a file and create new assets? HOT 4
- Include defaultValue in field and contentType typings HOT 3
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 ui-extensions-sdk.