Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
codepen
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
codepen
Commits
5220852f
Commit
5220852f
authored
3 years ago
by
Emmanuel
Browse files
Options
Downloads
Patches
Plain Diff
improved readme's
parent
eda601a1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+55
-1
55 additions, 1 deletion
README.md
README.txt
+1
-1
1 addition, 1 deletion
README.txt
with
56 additions
and
2 deletions
README.md
+
55
−
1
View file @
5220852f
codepen
SUMMARY - Codepen Field
========================
The Codepen field module provides a simple field that allows you to add a
Codepen embed to a content type, user, or any entity.
This module is a stripped and altered version of the YouTube module. See
https://www.drupal.org/project/youtube. Big thank to them and their work.
Display types include:
*
Codepen embeds of with options.
REQUIREMENTS
-------------
All dependencies of this module are enabled by default in Drupal 8.x.
INSTALLATION
-------------
Install this module as usual. Please see
http://drupal.org/documentation/install/modules-themes/modules-8
USAGE
-------
To use this module create a new field of type 'Codepen embed'. This field will
accept Codepen URLs of the following formats:
*
http://codepen.com/[user_id]/pen/[codepen_id]
The format listed above can also be provided without 'http://', with 'www.',
or with 'https://' rather than 'http://'. The last format can be provided with
additional parameters but are ignored.
CONFIGURATION
--------------
Global module settings can be found at admin/config/media/codepen.
The codepen output of a Codepen field can be manipulated in three ways:
*
global parameters found on the configuration page mentioned above
*
field-specific parameters found in that particular field's display settings
*
Views settings for the specific field
To configure the field settings:
1.
click 'manage display' on the listing of entity types
2.
click the configuration gear to the right of the Codepen field
SUPPORT
--------
Please use the issue queue to report bugs or request support:
http://drupal.org/project/issues/codepen
This diff is collapsed.
Click to expand it.
README.txt
+
1
−
1
View file @
5220852f
...
...
@@ -3,7 +3,7 @@ SUMMARY - Codepen Field
The Codepen field module provides a simple field that allows you to add a
Codepen embed to a content type, user, or any entity.
This module i
a
a stripped and altered version of the YouTube module. See
This module i
s
a stripped and altered version of the YouTube module. See
https://www.drupal.org/project/youtube. Big thank to them and their work.
Display types include:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment