Skip to content

Commit

Permalink
Update Getting Started documentation with a note about ensuring the c…
Browse files Browse the repository at this point in the history
…harset for the document is set to utf-8 to ensure the CSS icon styles render correctly when the local charset is different
  • Loading branch information
lucasnetau committed Sep 13, 2023
1 parent 1020f3d commit 25b0083
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ Once you have the module/plugin installed, include it in your build process for

## Basic Example

**Note**: The document charset should be set to utf-8 to ensure CSS font styles are rendered correctly

```html
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Example formBuilder</title>
<!-- Required meta tag -->
<meta charset="utf-8">
<title>Example formBuilder</title>
</head>
<body>
<div id="fb-editor"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js"></script>
<script src="https://formbuilder.online/assets/js/form-builder.min.js"></script>
<script>
jQuery(function($) {
Expand Down

0 comments on commit 25b0083

Please sign in to comment.