This is the head space of the UI5 community.
ui5-community / ui5-cc-md Goto Github PK
View Code? Open in Web Editor NEWui5 custom control rendering github flavored markdown to html
License: Other
ui5 custom control rendering github flavored markdown to html
License: Other
Currently in NPM there is no link back to this repo to indicate that it is the source for this library.
https://www.npmjs.com/package/ui5-cc-md
vs.
https://www.npmjs.com/package/@openui5/sap.ui.core (which has a repository link)
Can this be offered under a standard OSI-approved license so that it is easier to consume it in an enterprise environment, and just to serve as a good example?
We use this control in our app that is deployed to the SAP Build Work Zone. It's currently using SAPUI5 Version 1.116.0. There I get this error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'id')
at ResizeHandler.attachListener (ResizeHandler.js?eval:119:19)
at ResizeHandler.register (ResizeHandler.js?eval:241:25)
at constructor.onAfterRendering (ScrollEnablement.js:746:46)
at each (Element.js?eval:349:31)
at Element._handleEvent (Element.js?eval:362:3)
at finalizeRendering (RenderManager.js?eval:1262:16)
at flushInternal (RenderManager.js?eval:1347:4)
at RenderManager.render (RenderManager.js?eval:1497:4)
at UIArea.rerender (UIArea.js?eval:651:22)
at _renderPendingUIUpdates (Rendering.js?eval:100:40)
I've created the branch bug/resize-handler where this issue can be replicated.
Hello!
It seems to me that .fromFile() does not render the content. Did some debugging and found out, that the shtml
gets retrieved but not rendered though:
May be an issue concerning some ui5 lifecycle vs. async file loading?
Would be great if you guys could have a look into it. After some research on my own I am really curious whats the problem behind...
Cheers,
Philipp
FAIL test/ui5-app/basic.test.js
Markdown
✓ should render markdown via content property (2321 ms)
✕ should render markdown via fromFile property (1084 ms)
✓ should render markdown via binding (494 ms)
● Markdown › should render markdown via fromFile property
TimeoutError: Element h1 (text: "first") not found
waiting for function failed: timeout 500ms exceeded
Test Suites: 1 failed, 1 total
Tests: 1 failed, 2 passed, 3 total
Snapshots: 0 total
Time: 4.314 s, estimated 5 s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.