comparison src/examples/modified.html @ 12:933a459aa182

allow selector for textarea
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 13:58:27 -0600
parents 2606bfb75529
children 0cb206904499
comparison
equal deleted inserted replaced
11:73d62b7a0713 12:933a459aa182
69 </div> 69 </div>
70 </form> 70 </form>
71 71
72 72
73 <script> 73 <script>
74 var textarea = document.getElementById('example'); 74 sceditor.create('#example', {
75 sceditor.create(textarea, {
76 format: 'bbcode', 75 format: 'bbcode',
77 }); 76 });
78 77
79 78
80 var themeInput = document.getElementById('theme'); 79 var themeInput = document.getElementById('theme');