thomaspark / snowball Goto Github PK
View Code? Open in Web Editor NEWA WordPress plugin for making immersive longform articles
Home Page: https://snowball.openhtml.org/
License: GNU General Public License v2.0
A WordPress plugin for making immersive longform articles
Home Page: https://snowball.openhtml.org/
License: GNU General Public License v2.0
jquery-ui sortable's placeholder option
http://api.jqueryui.com/sortable/#option-placeholder
Codemirror can only retrieve <textarea>'s by their id to create the text editor. The code currently doesn't allow this now, but shouldn't be hard to add. Brian Lee would like to discuss the changes before making them.
So we need to dynamically generate the id's
http://stackoverflow.com/questions/9374894/can-codemirror-find-textareas-by-class"
Fix following error on new article page by checking if nonce exists
Notice: Undefined index: snowball_metabox_content_nonce in
/Users/parkov/Development/wordpress/wp-content/plugins/snowball/snowball.php on line 163
Getting this message when uploading image:
Notice: Trying to get property of non-object in /Users/parkov/Development/wordpress/wp-
content/plugins/snowball/snowball.php on line 186
quote, image, gallery, map, comments, social media, navigation, section, etc...
load-scripts.php:4
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects
to the end user's experience.
Error message:
Notice: Undefined index: snowball_metabox_content_nonce in
/Users/parkov/Development/wordpress/wp-content/plugins/snowball/snowball.php on line 163
Warning: Cannot modify header information - headers already sent by (output started at
/Users/parkov/Development/wordpress/wp-content/plugins/snowball/snowball.php:163) in
/Users/parkov/Development/wordpress/wp-includes/pluggable.php on line 1196
not sure yet if it makes sense to implement this option for all blocks, or just splash
might be useful to give users shortcodes to embed metadata like author, date, and blog name.
After the quote block is merged (#59), I'll overhaul offset-left
and offset-right
.
full-width
. This way they're available for other blocks like image.calc()
, just float
and negative margin-left
.full-width
.I didn't add the access or error checking in the functions because I was mainly trying to learn and figure out how to have persistent data.
Toolbar for common formatting such as headers, hyperlinks, and bold, similar to WordPress text editor
Chris Rudolph’s piercing cry: “Avalanche! Elyse!”
becomes...
Chris Rudolphu2019s piercing cry: u201cAvalanche! Elyse!u201d
Creating a normal post adds it to snowball articles database table.
word-wrap: break-word;
to the div
or p
containg the text.Need to ensure that the plugin will be fine even if there is no data about blocks or articles that exist in.
It can possibly be a bug.
need polyfill for other browsers
I made the code change the preview part of the block, but then using the left side of the block will not work correctly if the css is changed. I'm not sure how this is supposed to work.
expand block to allow inspection of html/css/js code responsible for block
as well as custom css/js to add additional style and behavior to block
create a custom meta box that combines publish, author, and discussion in a more compact form
An easy hack to solve this is to set the default background-color
to white
. (Might not want to do that though and come up with a more permanent solution)
In the text block, any quotes are being over-escaped.
"Hello"
On the first save becomes
\"Hello\"
on the second save, becomes:
\\"Hello\\"
On "All Articles" pages:
snowball-admin.js?ver=4.2.2:3
Uncaught ReferenceError: snowball is not defined
The plugin doesn't check if your database table exists.
And if it doesn't exist, it should add a database table that is needed.
wp_snowball_articles and wp_snowball_blocks are the tables that need to be added.
Is not saving to Database. Clicking Update post doesn't save changes. (saving to DB on Brians build is working.)
Dashboard displays error on snowball.php. Same error is displayed when 'choose image' in the image module is clicked. The error doesn't hinder imgae functionality though. (screenshot attached)
Once we enter the snowball menu, where all articles are being displayed, there is an illegal reference to snowball which is displayed as a console error.
Splash preview has a empty space below preview. (Is this intentional?)
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.