Fixed URL previews in ad settings
This commit is contained in:
		
							parent
							
								
									c28a88fe80
								
							
						
					
					
						commit
						216c4885f0
					
				@ -8,8 +8,8 @@
 | 
				
			|||||||
                <a @click="removeAd(index)" title="Remove Ad"><i class="fas fa-times-circle"></i></a>
 | 
					                <a @click="removeAd(index)" title="Remove Ad"><i class="fas fa-times-circle"></i></a>
 | 
				
			||||||
            </label>
 | 
					            </label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <bbcode-editor :id="'ad' + conversation.key + '-' + index" v-model="ads[index]" :hasToolbar="true" class="form-control">
 | 
					            <editor :id="'ad' + conversation.key + '-' + index" v-model="ads[index]" :hasToolbar="true" class="form-control">
 | 
				
			||||||
            </bbcode-editor>
 | 
					            </editor>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <button class="btn btn-outline-secondary" @click="addAd()">Add Another</button>
 | 
					        <button class="btn btn-outline-secondary" @click="addAd()">Add Another</button>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -22,9 +22,10 @@
 | 
				
			|||||||
    import Modal from '../../components/Modal.vue';
 | 
					    import Modal from '../../components/Modal.vue';
 | 
				
			||||||
    import {Conversation} from '../interfaces';
 | 
					    import {Conversation} from '../interfaces';
 | 
				
			||||||
    import l from '../localize';
 | 
					    import l from '../localize';
 | 
				
			||||||
 | 
					    import {Editor} from '../bbcode';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Component({
 | 
					    @Component({
 | 
				
			||||||
        components: {modal: Modal}
 | 
					        components: {modal: Modal, editor: Editor}
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
    export default class ConversationAdSettings extends CustomDialog {
 | 
					    export default class ConversationAdSettings extends CustomDialog {
 | 
				
			||||||
        @Prop({required: true})
 | 
					        @Prop({required: true})
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user