Comments (4)
Hi @mariaregan. thank you for feedback. I think that AdSense widget would be a good addition to to the list, we'll include it into our scope of works.
Regarding the code inside a tag: one of the key concepts in Paperbits is a separation of data (JSON) from its presentation (HTML, JS, CSS). You can think of it as Markdown, but more sophisticated (since we render not only text but also layouts, widgets, styles, etc.). However, nothing prevents you from creating a widget accepting free HTML/scripts as configuration.
Please check back to the documentation and paperbits-demo repo later this week, we're going to add "How to create a widget" guide and a widget scaffold.
from paperbits-demo.
@mariaregan, as I mentioned, the article is coming, but the scaffold has been added already. If you pull the latest changes and launch it, you will see it in "Add widget" list.
from paperbits-demo.
from paperbits-demo.
That's right, it's just a scaffold for your own widget where you can replace HTML content with your own, e.g. with the AdSense script. Also, please read about Widget Anatomy to better understand how it works.
from paperbits-demo.
Related Issues (20)
- Not able to edit text in the editor - after clicking on edit text the pointer is not going to the text HOT 2
- Unable to add public path the final build HOT 10
- Screen reader does not announce the associate text message for the delete confirmation. HOT 1
- Running paperbits on arbitrary subpath HOT 6
- Running paperbits without publishing HOT 3
- [Screen Reader- API Management -Change background]: In the process of selecting the background color, screen reader is not announcing the updated value for the current focused color.
- [Screen reader-API Management-Styles]: Screen reader does not announce the associate label with the "Color controls" under "Styles" page. HOT 1
- Table number of rows/cols editor does not work HOT 1
- [Screen readers - API Management - Table]: Screen Reader is not identifying the visually appearing table present, while navigating using table shortcut key 'T'.
- [Keyboard Navigation - Make Code - Blocks]: There is no keyboard access for "Input Section" controls under "Blocks" HOT 3
- Unable to delete pages
- Missing block class in divider. HOT 1
- Issues with prosemirrorHtmlEditor breaks build locally, entirely on Vercel HOT 1
- Vercel Build fails; Gitpod & Local doesn't HOT 2
- Property 'flow' does not exist HOT 2
- can i use react component library like chakra ui with paperbits if so how can i add components from there HOT 1
- Firebase module not working in paperbits-demo publisher, works in designer
- How can we create react functional components
- paperbits-angular issue
- uploaded picture with picture widget doesnt load on publish 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 paperbits-demo.